Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00184/0.00184, allocations: 115.4 kB / 19.7 MB, free: 2.207 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.002116/0.002116, allocations: 216.5 kB / 23 MB, free: 5.07 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9764/0.9764, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002227/0.002227, allocations: 64.88 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1762, allocations: 89.17 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001742/0.178, allocations: 0.5887 MB / 0.729 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.1782, allocations: 35.88 kB / 0.729 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.1782, allocations: 3.938 kB / 0.729 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1783, allocations: 3.938 kB / 0.729 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.1783, allocations: 0 / 0.729 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1785, allocations: 11.98 kB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.1786, allocations: 8 kB / 0.729 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.1786, allocations: 7.969 kB / 0.729 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.1786, allocations: 4 kB / 0.729 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.1787, allocations: 4 kB / 0.729 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1787, allocations: 0 / 0.729 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.1788, allocations: 23.98 kB / 0.7291 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.1788, allocations: 4 kB / 0.7291 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1788, allocations: 3.938 kB / 0.7291 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1789, allocations: 36.11 kB / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1789, allocations: 0 / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1789, allocations: 0 / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1789, allocations: 0 / 0.7291 GB, free: 0.5273 MB / 0.545 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.0003375/0.1793, allocations: 272.1 kB / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1793, allocations: 19.97 kB / 0.7294 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1794, allocations: 30.75 kB / 0.7294 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.1794, allocations: 8.828 kB / 0.7294 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.1795, allocations: 106.5 kB / 0.7295 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1795, allocations: 384 / 0.7295 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1795, allocations: 384 / 0.7295 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1796, allocations: 54.25 kB / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1797, allocations: 3.938 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1797, allocations: 4 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.1797, allocations: 11.98 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.1797, allocations: 31.92 kB / 0.7296 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1801, allocations: 235.8 kB / 0.7298 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.1801, allocations: 22.52 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1802, allocations: 8.844 kB / 0.7299 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.1802, allocations: 4.062 kB / 0.7299 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1802, allocations: 38.56 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1802, allocations: 4 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.1804, allocations: 63.34 kB / 0.73 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1804, allocations: 85.09 kB / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1805, allocations: 113.8 kB / 0.7302 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1805, allocations: 25.7 kB / 0.7302 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1806, allocations: 103.9 kB / 0.7303 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.1806, allocations: 0 / 0.7303 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1807, allocations: 29.83 kB / 0.7303 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1808, allocations: 318.8 kB / 0.7306 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.1808, allocations: 11.98 kB / 0.7306 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.1809, allocations: 62.8 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.181, allocations: 126.2 kB / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.181, allocations: 0 / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001629/0.1812, allocations: 127.1 kB / 0.7309 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.1812, allocations: 33.7 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1812, allocations: 4 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1812, allocations: 0 / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.1813, allocations: 12 kB / 0.731 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1813, allocations: 7.922 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.1814, allocations: 4 kB / 0.731 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1814, allocations: 16.19 kB / 0.731 GB, free: 14.28 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 9.671e-05/0.1815, allocations: 145.5 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1815, allocations: 7.953 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.1815, allocations: 7.453 kB / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1815, allocations: 0 / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1815, allocations: 0 / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1815, allocations: 0 / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.1817, allocations: 132.7 kB / 0.7313 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1817, allocations: 3.938 kB / 0.7313 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1817, allocations: 0 / 0.7313 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1817, allocations: 4 kB / 0.7313 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1817, allocations: 0 / 0.7313 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1817, allocations: 3.938 kB / 0.7313 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1817, allocations: 0 / 0.7313 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1819, allocations: 169.1 kB / 0.7315 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.1819, allocations: 7.953 kB / 0.7315 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1819, allocations: 0 / 0.7315 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.182, allocations: 4.031 kB / 0.7315 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.182, allocations: 4 kB / 0.7315 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.182, allocations: 0 / 0.7315 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.182, allocations: 95.2 kB / 0.7316 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.182, allocations: 0 / 0.7316 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002474/0.1823, allocations: 8 kB / 0.7316 GB, free: 13.62 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.0004925/0.1828, allocations: 0.7064 MB / 0.7323 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1829, allocations: 83.33 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1829, allocations: 0 / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.1829, allocations: 63.39 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.1831, allocations: 6.031 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1836, allocations: 139.1 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1839, allocations: 0.6768 MB / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.554e-05/0.184, allocations: 15.97 kB / 0.7332 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.184, allocations: 11.42 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.184, allocations: 0 / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5751/0.7591, allocations: 1.573 MB / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.78, allocations: 9.406 kB / 0.7348 GB, free: 10.37 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.58023510617204] Failed to read output from testmodel.py, exit status != 0: 11.882365538040176 11.898251661 11.716210658 Calling exit ...