Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001314/0.001314, allocations: 102 kB / 19.69 MB, free: 2.109 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.001542/0.001542, allocations: 212.6 kB / 23.01 MB, free: 4.945 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.002468/0.002468, allocations: 282.5 kB / 313.5 MB, free: 2.879 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 13 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 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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [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.002747/0.002747, allocations: 100.4 kB / 0.7408 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1626, allocations: 95.38 MB / 0.8339 GB, free: 8.227 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001853/0.1645, allocations: 0.5321 MB / 0.8345 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1646, allocations: 47.81 kB / 0.8345 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.1647, allocations: 0 / 0.8345 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.1647, allocations: 0 / 0.8345 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1649, allocations: 3.938 kB / 0.8345 GB, free: 7.641 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 5.581e-05/0.1649, allocations: 11.97 kB / 0.8345 GB, free: 7.629 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.165, allocations: 15.88 kB / 0.8345 GB, free: 7.613 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.165, allocations: 8.391 kB / 0.8345 GB, free: 7.605 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.1651, allocations: 0 / 0.8345 GB, free: 7.605 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.1652, allocations: 8 kB / 0.8345 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1652, allocations: 7.938 kB / 0.8346 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.1652, allocations: 3.938 kB / 0.8346 GB, free: 7.586 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1652, allocations: 7.984 kB / 0.8346 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1653, allocations: 11.92 kB / 0.8346 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 6.676e-05/0.1653, allocations: 7.984 kB / 0.8346 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1653, allocations: 0 / 0.8346 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1653, allocations: 0 / 0.8346 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1654, allocations: 0 / 0.8346 GB, free: 7.559 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004441/0.1658, allocations: 263.3 kB / 0.8348 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1658, allocations: 9.344 kB / 0.8348 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1659, allocations: 4.938 kB / 0.8348 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1661, allocations: 118.5 kB / 0.835 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1661, allocations: 384 / 0.835 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1661, allocations: 4.375 kB / 0.835 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/0.1662, allocations: 34.2 kB / 0.835 GB, free: 7.074 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1662, allocations: 4.172 kB / 0.835 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1662, allocations: 11.88 kB / 0.835 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1662, allocations: 0 / 0.835 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.1662, allocations: 4 kB / 0.835 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1664, allocations: 128.8 kB / 0.8351 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.1664, allocations: 18.61 kB / 0.8352 GB, free: 6.859 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.1664, allocations: 8.922 kB / 0.8352 GB, free: 6.848 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1664, allocations: 3.984 kB / 0.8352 GB, free: 6.844 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1665, allocations: 34.5 kB / 0.8352 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1665, allocations: 4 kB / 0.8352 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.1666, allocations: 45.62 kB / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1667, allocations: 51.41 kB / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1668, allocations: 113.8 kB / 0.8354 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1668, allocations: 25.7 kB / 0.8354 GB, free: 6.531 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.1668, allocations: 80.14 kB / 0.8355 GB, free: 6.449 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1668, allocations: 3.953 kB / 0.8355 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1669, allocations: 17.72 kB / 0.8355 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.167, allocations: 319 kB / 0.8358 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.167, allocations: 4 kB / 0.8358 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.1671, allocations: 17.7 kB / 0.8359 GB, free: 6.074 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.1671, allocations: 25.66 kB / 0.8359 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1671, allocations: 0 / 0.8359 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.944e-05/0.1672, allocations: 53.69 kB / 0.8359 GB, free: 5.984 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1672, allocations: 4 kB / 0.8359 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1672, allocations: 3.938 kB / 0.8359 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1672, allocations: 4 kB / 0.8359 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.1673, allocations: 0 / 0.8359 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1673, allocations: 11.92 kB / 0.836 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.1673, allocations: 0 / 0.836 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1673, allocations: 0 / 0.836 GB, free: 5.961 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.679e-05/0.1674, allocations: 110.5 kB / 0.8361 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.1674, allocations: 8.047 kB / 0.8361 GB, free: 5.836 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1675, allocations: 61.02 kB / 0.8361 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1675, allocations: 0 / 0.8361 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1675, allocations: 0 / 0.8361 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1675, allocations: 0 / 0.8361 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1676, allocations: 132.7 kB / 0.8363 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1676, allocations: 3.938 kB / 0.8363 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.1677, allocations: 0 / 0.8363 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1677, allocations: 4 kB / 0.8363 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1677, allocations: 3.938 kB / 0.8363 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1677, allocations: 4.031 kB / 0.8363 GB, free: 5.578 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1677, allocations: 0 / 0.8363 GB, free: 5.578 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1678, allocations: 73.36 kB / 0.8363 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.1679, allocations: 4.031 kB / 0.8363 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1679, allocations: 11.94 kB / 0.8364 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.1679, allocations: 0 / 0.8364 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.1679, allocations: 11.92 kB / 0.8364 GB, free: 5.461 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1679, allocations: 4.094 kB / 0.8364 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.168, allocations: 87.28 kB / 0.8365 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.1e-08/0.168, allocations: 0 / 0.8365 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001763/0.1681, allocations: 0 / 0.8365 GB, free: 5.371 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001007/0.1683, allocations: 99.23 kB / 0.8365 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.1683, allocations: 8 kB / 0.8366 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1683, allocations: 0 / 0.8366 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.1684, allocations: 12.11 kB / 0.8366 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1685, allocations: 11.94 kB / 0.8366 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.1688, allocations: 143.2 kB / 0.8367 GB, free: 5.062 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1691, allocations: 0.6807 MB / 0.8374 GB, free: 4.355 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1691, allocations: 7.438 kB / 0.8374 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of SimCode: time 2.81e-07/0.1691, allocations: 0 / 0.8374 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of Templates: time 0.001911/0.171, allocations: 0.5169 MB / 0.8379 GB, free: 3.832 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.155209573917091] Failed to read output from testmodel.py, exit status != 0: 0.17844205885194242 0.19350161000000002 0.025248477000000002 Calling exit ...