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.001398/0.001398, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001472/0.001472, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.5/1.5, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9745/0.9745, allocations: 150 MB / 460.2 MB, free: 5.281 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",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.00205/0.00205, allocations: 72.8 kB / 0.6368 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1658, allocations: 89.13 MB / 0.7239 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001878/0.1677, allocations: 0.5895 MB / 0.7245 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.1679, allocations: 39.88 kB / 0.7245 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1679, allocations: 0 / 0.7245 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.168, allocations: 3.984 kB / 0.7245 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.168, allocations: 4 kB / 0.7245 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1682, allocations: 7.938 kB / 0.7245 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.1683, allocations: 11.98 kB / 0.7245 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.1683, allocations: 0 / 0.7245 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.1683, allocations: 4 kB / 0.7245 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.1684, allocations: 0 / 0.7245 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1684, allocations: 0 / 0.7245 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.1685, allocations: 19.98 kB / 0.7245 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.1685, allocations: 15.92 kB / 0.7246 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1685, allocations: 3.984 kB / 0.7246 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1687, allocations: 32.14 kB / 0.7246 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1687, allocations: 0 / 0.7246 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1687, allocations: 0 / 0.7246 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1687, allocations: 0 / 0.7246 GB, free: 3.277 MB / 0.5294 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.0004129/0.1691, allocations: 345.2 kB / 0.7249 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1691, allocations: 8.031 kB / 0.7249 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.95e-05/0.1692, allocations: 4.188 kB / 0.7249 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.1692, allocations: 34.75 kB / 0.725 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1692, allocations: 4.891 kB / 0.725 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1693, allocations: 172.3 kB / 0.7251 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1694, allocations: 8.312 kB / 0.7251 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1694, allocations: 4.312 kB / 0.7252 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1695, allocations: 58 kB / 0.7252 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1695, allocations: 0 / 0.7252 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1695, allocations: 3.984 kB / 0.7252 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.1696, allocations: 8 kB / 0.7252 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.1696, allocations: 23.98 kB / 0.7252 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.17, allocations: 272.8 kB / 0.7255 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.17, allocations: 22.52 kB / 0.7255 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1701, allocations: 4.859 kB / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.1701, allocations: 0 / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1701, allocations: 30.56 kB / 0.7256 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 5.741e-06/0.1701, allocations: 4.047 kB / 0.7256 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000188/0.1703, allocations: 75.33 kB / 0.7256 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1703, allocations: 81.23 kB / 0.7257 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.1704, allocations: 109.8 kB / 0.7258 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1705, allocations: 29.7 kB / 0.7258 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.1705, allocations: 107.9 kB / 0.7259 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.1705, allocations: 4 kB / 0.7259 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.1706, allocations: 25.67 kB / 0.726 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1707, allocations: 323.2 kB / 0.7263 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.1707, allocations: 8 kB / 0.7263 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.1708, allocations: 58.86 kB / 0.7263 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1709, allocations: 138.1 kB / 0.7265 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1709, allocations: 0 / 0.7265 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001617/0.1711, allocations: 119.4 kB / 0.7266 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.1711, allocations: 35.73 kB / 0.7266 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1711, allocations: 3.984 kB / 0.7266 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1711, allocations: 4 kB / 0.7266 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.1712, allocations: 8 kB / 0.7266 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1712, allocations: 4 kB / 0.7266 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.1713, allocations: 19.89 kB / 0.7267 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1713, allocations: 4 kB / 0.7267 GB, free: 0.832 MB / 0.5294 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.0001079/0.1714, allocations: 151.4 kB / 0.7268 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1714, allocations: 4.031 kB / 0.7268 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.1714, allocations: 11.53 kB / 0.7268 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1715, allocations: 0 / 0.7268 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1715, allocations: 3.938 kB / 0.7268 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1715, allocations: 3.938 kB / 0.7268 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1716, allocations: 149.7 kB / 0.727 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1716, allocations: 0 / 0.727 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.1716, allocations: 0 / 0.727 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1716, allocations: 3.938 kB / 0.727 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1716, allocations: 4 kB / 0.727 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1716, allocations: 0 / 0.727 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1716, allocations: 4 kB / 0.727 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1718, allocations: 169.1 kB / 0.7271 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1718, allocations: 81.06 kB / 0.7272 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1718, allocations: 7.984 kB / 0.7272 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.1719, allocations: 0 / 0.7272 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.1719, allocations: 4 kB / 0.7272 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1719, allocations: 7.938 kB / 0.7272 GB, free: 132 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.172, allocations: 91.36 kB / 0.7273 GB, free: 40 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.172, allocations: 4 kB / 0.7273 GB, free: 36 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002472/0.1722, allocations: 12 kB / 0.7273 GB, free: 24 kB / 0.5294 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.0005403/0.1728, allocations: 0.6947 MB / 0.728 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1729, allocations: 87.3 kB / 0.7281 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1729, allocations: 0 / 0.7281 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.173, allocations: 55.41 kB / 0.7282 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1732, allocations: 11.94 kB / 0.7282 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1736, allocations: 134.5 kB / 0.7283 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1739, allocations: 0.6773 MB / 0.729 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.174, allocations: 15.98 kB / 0.729 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.174, allocations: 15.44 kB / 0.729 GB, free: 14.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.174, allocations: 0 / 0.729 GB, free: 14.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1925, allocations: 1.488 MB / 0.7304 GB, free: 12.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/8.706, allocations: 9.172 kB / 0.7305 GB, free: 12.88 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.553968903957866] Failed to read output from testmodel.py, exit status != 0: 8.83393464400433 8.862867276 8.689325488 Calling exit ...