Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.001271/0.001271, allocations: 110 kB / 18.94 MB, free: 2.789 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.001324/0.001324, allocations: 195.4 kB / 22.23 MB, free: 5.234 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.363/1.363, allocations: 225.6 MB / 251 MB, free: 13.01 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.002474/0.002474, allocations: 296.5 kB / 306.6 MB, free: 8.328 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.167/1.167, allocations: 180.9 MB / 0.53 GB, free: 14.32 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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 102.8 kB / 0.7308 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.16, allocations: 94.2 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.002049/0.162, allocations: 0.5203 MB / 0.8233 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.1622, allocations: 19.97 kB / 0.8233 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.1622, allocations: 3.938 kB / 0.8233 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1622, allocations: 3.938 kB / 0.8233 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1624, allocations: 11.92 kB / 0.8234 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.1624, allocations: 0 / 0.8234 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.1624, allocations: 4 kB / 0.8234 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.1625, allocations: 0 / 0.8234 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.1625, allocations: 4 kB / 0.8234 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.1626, allocations: 4 kB / 0.8234 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1626, allocations: 0 / 0.8234 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.1626, allocations: 3.938 kB / 0.8234 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1626, allocations: 3.984 kB / 0.8234 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.1626, allocations: 7.922 kB / 0.8234 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.451e-05/0.1627, allocations: 7.984 kB / 0.8234 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1627, allocations: 0 / 0.8234 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1627, allocations: 0 / 0.8234 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1627, allocations: 0 / 0.8234 GB, free: 1.242 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003114/0.163, allocations: 246.4 kB / 0.8236 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.163, allocations: 8.031 kB / 0.8236 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1631, allocations: 0.9375 kB / 0.8236 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1632, allocations: 110.5 kB / 0.8237 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1632, allocations: 384 / 0.8237 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1632, allocations: 384 / 0.8237 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1633, allocations: 43.98 kB / 0.8238 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1633, allocations: 8.125 kB / 0.8238 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1633, allocations: 3.938 kB / 0.8238 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1633, allocations: 0 / 0.8238 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.1634, allocations: 4 kB / 0.8238 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.1636, allocations: 130 kB / 0.8239 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.1636, allocations: 45.16 kB / 0.824 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.1637, allocations: 17.72 kB / 0.824 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1637, allocations: 0 / 0.824 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.1637, allocations: 38.61 kB / 0.824 GB, free: 464 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1637, allocations: 0 / 0.824 GB, free: 464 kB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.1639, allocations: 45.58 kB / 0.8241 GB, free: 412 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.164, allocations: 77.11 kB / 0.8241 GB, free: 316 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.164, allocations: 98.11 kB / 0.8242 GB, free: 208 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1641, allocations: 25.7 kB / 0.8243 GB, free: 176 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.1641, allocations: 84.12 kB / 0.8243 GB, free: 88 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1641, allocations: 3.953 kB / 0.8243 GB, free: 84 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1642, allocations: 17.72 kB / 0.8244 GB, free: 60 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1643, allocations: 310.8 kB / 0.8246 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.1643, allocations: 0 / 0.8246 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.1644, allocations: 21.78 kB / 0.8247 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.1644, allocations: 21.66 kB / 0.8247 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1644, allocations: 3.984 kB / 0.8247 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.1645, allocations: 41.64 kB / 0.8247 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1645, allocations: 4 kB / 0.8247 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1645, allocations: 3.938 kB / 0.8247 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1645, allocations: 0 / 0.8247 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.1646, allocations: 8.125 kB / 0.8247 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1646, allocations: 0 / 0.8247 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.1646, allocations: 11.98 kB / 0.8248 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1646, allocations: 0 / 0.8248 GB, free: 15.61 MB / 0.5762 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 8.846e-05/0.1647, allocations: 110.5 kB / 0.8249 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1647, allocations: 4 kB / 0.8249 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1649, allocations: 52.56 kB / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1649, allocations: 4.062 kB / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1649, allocations: 0 / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1649, allocations: 0 / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.165, allocations: 128.6 kB / 0.825 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.165, allocations: 0 / 0.825 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.165, allocations: 4 kB / 0.8251 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.165, allocations: 0 / 0.8251 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1651, allocations: 3.938 kB / 0.8251 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1651, allocations: 11.88 kB / 0.8251 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1651, allocations: 0 / 0.8251 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1652, allocations: 73.98 kB / 0.8251 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.1652, allocations: 0 / 0.8251 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1652, allocations: 7.938 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.1652, allocations: 3.984 kB / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.1653, allocations: 0 / 0.8251 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1653, allocations: 4 kB / 0.8252 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.1653, allocations: 83.3 kB / 0.8252 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.8252 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001932/0.1655, allocations: 0 / 0.8252 GB, free: 15.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001431/0.1656, allocations: 95.25 kB / 0.8253 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.221e-05/0.1657, allocations: 11.94 kB / 0.8253 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1657, allocations: 0 / 0.8253 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.1658, allocations: 4.281 kB / 0.8253 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1659, allocations: 8.062 kB / 0.8253 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1662, allocations: 96.41 kB / 0.8254 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1665, allocations: 0.6729 MB / 0.8261 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.1665, allocations: 0 / 0.8261 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.1666, allocations: 11.42 kB / 0.8261 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1666, allocations: 3.938 kB / 0.8261 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.002312/0.1689, allocations: 208.8 kB / 0.8263 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.630892121233046] Failed to read output from testmodel.py, exit status != 0: 0.17657404579222202 0.192732239 0.026898952 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f322ec757b0>