Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002336/0.002336, allocations: 294 kB / 309.8 MB, free: 3.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.085/1.085, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002954/0.002954, allocations: 104.3 kB / 0.7347 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5732, allocations: 95.33 MB / 0.8278 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001695/0.5749, allocations: 0.5953 MB / 0.8284 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002466/0.5751, allocations: 36.97 kB / 0.8284 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.5751, allocations: 0.8438 kB / 0.8284 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.5752, allocations: 0.7031 kB / 0.8284 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.5752, allocations: 9.531 kB / 0.8284 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.5754, allocations: 16.16 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.5755, allocations: 3.516 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.5756, allocations: 2.281 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.5756, allocations: 5.312 kB / 0.8285 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.5756, allocations: 6.031 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.5756, allocations: 1.219 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.5757, allocations: 17.09 kB / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.5757, allocations: 2.688 kB / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.5758, allocations: 9.25 kB / 0.8285 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.5758, allocations: 35.22 kB / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5759, allocations: 0 / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5759, allocations: 1.469 kB / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5759, allocations: 0 / 0.8285 GB, free: 2.574 MB / 0.5762 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.0002741/0.5761, allocations: 355.4 kB / 0.8289 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5762, allocations: 11.09 kB / 0.8289 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.25e-05/0.5762, allocations: 192 / 0.8289 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.941e-05/0.5762, allocations: 38.11 kB / 0.8289 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.5762, allocations: 1.875 kB / 0.8289 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.644e-05/0.5763, allocations: 165.1 kB / 0.8291 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5763, allocations: 1.625 kB / 0.8291 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.5763, allocations: 3 kB / 0.8291 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.5764, allocations: 62.67 kB / 0.8292 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5765, allocations: 0 / 0.8292 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5765, allocations: 0 / 0.8292 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.5765, allocations: 7.375 kB / 0.8292 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.5766, allocations: 27.8 kB / 0.8292 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.5768, allocations: 269.9 kB / 0.8294 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.5769, allocations: 20.58 kB / 0.8295 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.5769, allocations: 11.11 kB / 0.8295 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.5769, allocations: 0.75 kB / 0.8295 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.5769, allocations: 31.84 kB / 0.8295 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5769, allocations: 0 / 0.8295 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.5771, allocations: 68.12 kB / 0.8296 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5771, allocations: 81.98 kB / 0.8296 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.5772, allocations: 124.2 kB / 0.8298 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.5772, allocations: 26.36 kB / 0.8298 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.5772, allocations: 97.45 kB / 0.8299 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.5773, allocations: 12.5 kB / 0.8299 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.5773, allocations: 22.16 kB / 0.8299 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.5773, allocations: 317.4 kB / 0.8302 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.5774, allocations: 14.38 kB / 0.8302 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.5774, allocations: 60.34 kB / 0.8303 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.5775, allocations: 128.4 kB / 0.8304 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5775, allocations: 1.312 kB / 0.8304 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001269/0.5776, allocations: 126 kB / 0.8305 GB, free: 488 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.5776, allocations: 30.88 kB / 0.8306 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5777, allocations: 2.203 kB / 0.8306 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5777, allocations: 2.562 kB / 0.8306 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.5777, allocations: 13.84 kB / 0.8306 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5777, allocations: 9.859 kB / 0.8306 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.5778, allocations: 16.08 kB / 0.8306 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.5778, allocations: 8.094 kB / 0.8306 GB, free: 436 kB / 0.5762 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 6.034e-05/0.5779, allocations: 143.9 kB / 0.8308 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.5779, allocations: 6.125 kB / 0.8308 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.206e-05/0.5779, allocations: 10.66 kB / 0.8308 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5779, allocations: 0.7969 kB / 0.8308 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5779, allocations: 0 / 0.8308 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.5779, allocations: 7.406 kB / 0.8308 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.578, allocations: 156.8 kB / 0.8309 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.578, allocations: 0 / 0.8309 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.578, allocations: 0 / 0.8309 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.578, allocations: 0.7969 kB / 0.8309 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.5781, allocations: 1.281 kB / 0.8309 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5781, allocations: 4.469 kB / 0.8309 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5781, allocations: 0.75 kB / 0.8309 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.5782, allocations: 171.9 kB / 0.8311 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.5783, allocations: 80.95 kB / 0.8312 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.5783, allocations: 0.6094 kB / 0.8312 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.5783, allocations: 6.688 kB / 0.8312 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.5783, allocations: 0.7969 kB / 0.8312 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5783, allocations: 10.69 kB / 0.8312 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.5784, allocations: 93.17 kB / 0.8313 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5784, allocations: 0 / 0.8313 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002473/0.5787, allocations: 18.42 kB / 0.8313 GB, free: 15.69 MB / 0.5919 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.0005242/0.5792, allocations: 0.699 MB / 0.832 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.5793, allocations: 91.47 kB / 0.8321 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5793, allocations: 0 / 0.8321 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.5794, allocations: 56.3 kB / 0.8321 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5796, allocations: 7.406 kB / 0.8321 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.58, allocations: 141 kB / 0.8323 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5803, allocations: 0.679 MB / 0.8329 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.5804, allocations: 16.06 kB / 0.8329 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.5804, allocations: 8.188 kB / 0.833 GB, free: 14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5804, allocations: 0 / 0.833 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.5975, allocations: 1.505 MB / 0.8344 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.755, allocations: 12.52 kB / 0.8344 GB, free: 13.63 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.720381651015487] Failed to read output from testmodel.py, exit status != 0: 8.877637866011355 8.892350398 8.313652108 Calling exit ...