Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002777/0.002776, allocations: 191.5 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.044/1.044, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 0.5953 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 82.02 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001591/0.4354, allocations: 0.5695 MB / 0.676 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.4356, allocations: 46.8 kB / 0.676 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.4357, allocations: 0 / 0.676 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.4357, allocations: 9.344 kB / 0.6761 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.4358, allocations: 0 / 0.6761 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.4359, allocations: 13.67 kB / 0.6761 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.436, allocations: 2.406 kB / 0.6761 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.4361, allocations: 6.516 kB / 0.6761 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.736e-05/0.4361, allocations: 1.438 kB / 0.6761 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.4361, allocations: 7.938 kB / 0.6761 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4361, allocations: 1.375 kB / 0.6761 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.4362, allocations: 16.05 kB / 0.6761 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.4363, allocations: 6.328 kB / 0.6761 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.4363, allocations: 9.281 kB / 0.6761 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.4364, allocations: 21.52 kB / 0.6761 GB, free: 460 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4364, allocations: 0 / 0.6761 GB, free: 460 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4364, allocations: 4.969 kB / 0.6761 GB, free: 456 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.4364, allocations: 0 / 0.6761 GB, free: 456 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002444/0.4367, allocations: 357.9 kB / 0.6765 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4367, allocations: 9.969 kB / 0.6765 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.4367, allocations: 35.94 kB / 0.6765 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.4368, allocations: 10.39 kB / 0.6765 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.437, allocations: 165.8 kB / 0.6767 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.437, allocations: 8.359 kB / 0.6767 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.437, allocations: 1.562 kB / 0.6767 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4372, allocations: 59.53 kB / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4372, allocations: 3.938 kB / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.4372, allocations: 0 / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4372, allocations: 4.812 kB / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.4373, allocations: 27.7 kB / 0.6768 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.4377, allocations: 263.3 kB / 0.677 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.4377, allocations: 21.77 kB / 0.6771 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.4377, allocations: 10.02 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.4377, allocations: 1.062 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4378, allocations: 31.62 kB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4378, allocations: 0 / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.438, allocations: 68.7 kB / 0.6772 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.438, allocations: 82.2 kB / 0.6773 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.4381, allocations: 118.9 kB / 0.6774 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4382, allocations: 26.8 kB / 0.6774 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.4382, allocations: 106.4 kB / 0.6775 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.4383, allocations: 9.156 kB / 0.6775 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.4383, allocations: 25.3 kB / 0.6775 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4384, allocations: 319.9 kB / 0.6778 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.4385, allocations: 10.75 kB / 0.6778 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.4386, allocations: 62.55 kB / 0.6779 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.4387, allocations: 127.3 kB / 0.678 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4387, allocations: 1.031 kB / 0.678 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001594/0.4389, allocations: 119.8 kB / 0.6781 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.4389, allocations: 42.06 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4389, allocations: 2.125 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4389, allocations: 6.469 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.439, allocations: 10.88 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.439, allocations: 6.219 kB / 0.6782 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.4391, allocations: 7.797 kB / 0.6782 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4391, allocations: 9.562 kB / 0.6782 GB, free: 14.23 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4392, allocations: 152.7 kB / 0.6784 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.4392, allocations: 6.562 kB / 0.6784 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.4393, allocations: 4.844 kB / 0.6784 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4393, allocations: 0 / 0.6784 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4393, allocations: 1.344 kB / 0.6784 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4393, allocations: 0 / 0.6784 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.4395, allocations: 157.1 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4395, allocations: 1.125 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.4395, allocations: 0 / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4395, allocations: 1.094 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4395, allocations: 1 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4395, allocations: 3.984 kB / 0.6785 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4395, allocations: 4 kB / 0.6785 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.4397, allocations: 169.6 kB / 0.6787 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4397, allocations: 85.98 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4397, allocations: 0.875 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.4398, allocations: 2.281 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.4398, allocations: 1.219 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.4398, allocations: 1.219 kB / 0.6788 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.4399, allocations: 99.33 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4399, allocations: 0 / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002389/0.4401, allocations: 13.38 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.4407, allocations: 0.6989 MB / 0.6796 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.4409, allocations: 91.33 kB / 0.6797 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4409, allocations: 1.031 kB / 0.6797 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.4409, allocations: 54.94 kB / 0.6797 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.4411, allocations: 8.391 kB / 0.6797 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.4416, allocations: 141.6 kB / 0.6799 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4419, allocations: 0.679 MB / 0.6805 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.47e-05/0.442, allocations: 18.7 kB / 0.6805 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.442, allocations: 13.7 kB / 0.6806 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4421, allocations: 0 / 0.6806 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.4628, allocations: 1.459 MB / 0.682 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.175, allocations: 4.984 kB / 0.682 GB, free: 10.99 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)