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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 103.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 282.2 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.9 MB / 0.5261 GB, free: 14.72 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 104.6 kB / 0.7248 GB, free: 39.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1685, allocations: 94.15 MB / 0.8168 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00178/0.1703, allocations: 0.5938 MB / 0.8173 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.1705, allocations: 43.88 kB / 0.8174 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.1705, allocations: 0 / 0.8174 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.1706, allocations: 0 / 0.8174 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.1706, allocations: 0 / 0.8174 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1708, allocations: 11.98 kB / 0.8174 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.1709, allocations: 11.94 kB / 0.8174 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.1709, allocations: 0 / 0.8174 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.1709, allocations: 7.938 kB / 0.8174 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.171, allocations: 0 / 0.8174 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.171, allocations: 0 / 0.8174 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.171, allocations: 19.97 kB / 0.8174 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.1711, allocations: 11.98 kB / 0.8174 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.1711, allocations: 3.938 kB / 0.8174 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.244e-05/0.1712, allocations: 23.92 kB / 0.8175 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1712, allocations: 0 / 0.8175 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1712, allocations: 4 kB / 0.8175 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1712, allocations: 0 / 0.8175 GB, free: 4.633 MB / 0.5606 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.0003621/0.1715, allocations: 353.4 kB / 0.8178 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1716, allocations: 8.031 kB / 0.8178 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.1716, allocations: 38.75 kB / 0.8179 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.1717, allocations: 4.922 kB / 0.8179 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1718, allocations: 160.4 kB / 0.818 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1718, allocations: 384 / 0.818 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1718, allocations: 4.375 kB / 0.818 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1719, allocations: 66.17 kB / 0.8181 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1719, allocations: 3.938 kB / 0.8181 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.1719, allocations: 0 / 0.8181 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.172, allocations: 4 kB / 0.8181 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.172, allocations: 27.98 kB / 0.8181 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1723, allocations: 268.8 kB / 0.8184 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.1724, allocations: 22.45 kB / 0.8184 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1724, allocations: 12.92 kB / 0.8184 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-06/0.1724, allocations: 0 / 0.8184 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1725, allocations: 34.55 kB / 0.8184 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1725, allocations: 0 / 0.8184 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.1726, allocations: 67.41 kB / 0.8185 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1727, allocations: 77.11 kB / 0.8186 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1728, allocations: 121.7 kB / 0.8187 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1728, allocations: 29.64 kB / 0.8187 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.1729, allocations: 104.1 kB / 0.8188 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.1729, allocations: 3.938 kB / 0.8188 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1729, allocations: 29.66 kB / 0.8189 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1731, allocations: 322.7 kB / 0.8192 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.1731, allocations: 11.98 kB / 0.8192 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.1731, allocations: 58.88 kB / 0.8192 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1733, allocations: 134.3 kB / 0.8194 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1733, allocations: 4 kB / 0.8194 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001597/0.1734, allocations: 115.2 kB / 0.8195 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.1735, allocations: 29.7 kB / 0.8195 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1735, allocations: 4 kB / 0.8195 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1735, allocations: 8.188 kB / 0.8195 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.1736, allocations: 12 kB / 0.8195 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1736, allocations: 4 kB / 0.8195 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.1736, allocations: 11.95 kB / 0.8195 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.1737, allocations: 11.92 kB / 0.8195 GB, free: 2.184 MB / 0.5606 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.000106/0.1738, allocations: 143.5 kB / 0.8197 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1738, allocations: 0 / 0.8197 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.1738, allocations: 7.531 kB / 0.8197 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1738, allocations: 4 kB / 0.8197 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1738, allocations: 4 kB / 0.8197 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1738, allocations: 3.984 kB / 0.8197 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.174, allocations: 153.7 kB / 0.8198 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.174, allocations: 3.984 kB / 0.8199 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.174, allocations: 3.984 kB / 0.8199 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.174, allocations: 0 / 0.8199 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.174, allocations: 0 / 0.8199 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.174, allocations: 4.469 kB / 0.8199 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.174, allocations: 0 / 0.8199 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1741, allocations: 169.2 kB / 0.82 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1742, allocations: 81.06 kB / 0.8201 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1742, allocations: 0 / 0.8201 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.1742, allocations: 4 kB / 0.8201 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1742, allocations: 3.938 kB / 0.8201 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1743, allocations: 11.94 kB / 0.8201 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.1743, allocations: 95.19 kB / 0.8202 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1743, allocations: 0 / 0.8202 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002404/0.1745, allocations: 15.94 kB / 0.8202 GB, free: 1.383 MB / 0.5606 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.0004746/0.175, allocations: 0.7063 MB / 0.8209 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1752, allocations: 83.8 kB / 0.821 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1752, allocations: 64 / 0.821 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.1752, allocations: 67.33 kB / 0.8211 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.1754, allocations: 5.375 kB / 0.8211 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.1758, allocations: 146.5 kB / 0.8212 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1761, allocations: 0.6768 MB / 0.8219 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.1762, allocations: 19.72 kB / 0.8219 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1762, allocations: 11.5 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1762, allocations: 4 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.1996, allocations: 1.448 MB / 0.8233 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.059, allocations: 14.64 kB / 0.8233 GB, free: 14.24 MB / 0.5762 GB " [Timeout remaining time 652] (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.110024230089039] Failed to read output from testmodel.py, exit status != 0: 8.125479558948427 8.1393743 7.965363373 Calling exit ...