Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001717/0.001717, allocations: 108 kB / 20.33 MB, free: 1.582 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.002184/0.002184, allocations: 185.9 kB / 23.59 MB, free: 4.965 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.476/1.476, allocations: 225.6 MB / 252.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9911/0.9911, allocations: 149.5 MB / 457.1 MB, free: 1.219 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.8 kB / 0.6331 GB, free: 9.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 87.88 MB / 0.719 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001868/0.1683, allocations: 0.6321 MB / 0.7196 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.1692, allocations: 0.8007 MB / 0.7204 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.1693, allocations: 0 / 0.7204 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.128e-05/0.1694, allocations: 3.844 kB / 0.7204 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.1694, allocations: 3.938 kB / 0.7204 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.1695, allocations: 11.98 kB / 0.7204 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.1696, allocations: 27.98 kB / 0.7204 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.1697, allocations: 7.938 kB / 0.7204 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.1697, allocations: 11.92 kB / 0.7204 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1698, allocations: 11.94 kB / 0.7204 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1698, allocations: 4 kB / 0.7204 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-06/0.1698, allocations: 0 / 0.7204 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1698, allocations: 7.984 kB / 0.7204 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1699, allocations: 19.86 kB / 0.7205 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.485e-05/0.17, allocations: 27.89 kB / 0.7205 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.17, allocations: 0 / 0.7205 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.17, allocations: 8 kB / 0.7205 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.17, allocations: 0 / 0.7205 GB, free: 15.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004493/0.1704, allocations: 266.3 kB / 0.7207 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1705, allocations: 8.625 kB / 0.7208 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.1705, allocations: 0.9375 kB / 0.7208 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1707, allocations: 122.4 kB / 0.7209 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1707, allocations: 4.375 kB / 0.7209 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1707, allocations: 384 / 0.7209 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1709, allocations: 66.17 kB / 0.7209 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1709, allocations: 192 / 0.7209 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1709, allocations: 3.938 kB / 0.7209 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1709, allocations: 0 / 0.7209 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1711, allocations: 35.95 kB / 0.721 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1715, allocations: 244 kB / 0.7212 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1716, allocations: 34.5 kB / 0.7212 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.1717, allocations: 20.91 kB / 0.7213 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.1717, allocations: 0 / 0.7213 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1717, allocations: 30.56 kB / 0.7213 GB, free: 14.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1717, allocations: 0 / 0.7213 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003279/0.172, allocations: 77.64 kB / 0.7214 GB, free: 14.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1721, allocations: 55.34 kB / 0.7214 GB, free: 14.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.1722, allocations: 106 kB / 0.7215 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1722, allocations: 25.7 kB / 0.7215 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.1722, allocations: 92.03 kB / 0.7216 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1723, allocations: 4 kB / 0.7216 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.1723, allocations: 13.84 kB / 0.7217 GB, free: 14.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1724, allocations: 322.8 kB / 0.722 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.1725, allocations: 11.98 kB / 0.722 GB, free: 13.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.1726, allocations: 20.05 kB / 0.722 GB, free: 13.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1727, allocations: 36.88 kB / 0.722 GB, free: 13.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1727, allocations: 4 kB / 0.722 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001778/0.1729, allocations: 61.62 kB / 0.7221 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1729, allocations: 7.938 kB / 0.7221 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1729, allocations: 4 kB / 0.7221 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1729, allocations: 0 / 0.7221 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.173, allocations: 7.984 kB / 0.7221 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.173, allocations: 0 / 0.7221 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1731, allocations: 12.02 kB / 0.7221 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1731, allocations: 0 / 0.7221 GB, free: 13.69 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 0.0001043/0.1732, allocations: 125.7 kB / 0.7222 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1732, allocations: 0 / 0.7222 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.1732, allocations: 3.156 kB / 0.7222 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1732, allocations: 0 / 0.7222 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1732, allocations: 0 / 0.7222 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1732, allocations: 4 kB / 0.7222 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1734, allocations: 132.7 kB / 0.7224 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1734, allocations: 4 kB / 0.7224 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1735, allocations: 7.984 kB / 0.7224 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1735, allocations: 4 kB / 0.7224 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1735, allocations: 3.984 kB / 0.7224 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1735, allocations: 0 / 0.7224 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1735, allocations: 3.984 kB / 0.7224 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1737, allocations: 167.4 kB / 0.7226 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.1737, allocations: 7.953 kB / 0.7226 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1738, allocations: 0 / 0.7226 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1738, allocations: 7.984 kB / 0.7226 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1739, allocations: 0 / 0.7226 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1739, allocations: 0 / 0.7226 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.1739, allocations: 87.28 kB / 0.7227 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1739, allocations: 0 / 0.7227 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002272/0.1741, allocations: 4 kB / 0.7227 GB, free: 13.07 MB / 0.545 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): 1 * 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.0001077/0.1743, allocations: 107.2 kB / 0.7228 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1744, allocations: 27.97 kB / 0.7228 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1744, allocations: 0 / 0.7228 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.1745, allocations: 15.98 kB / 0.7228 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1748, allocations: 11.88 kB / 0.7228 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.1751, allocations: 109.7 kB / 0.7229 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1754, allocations: 0.6806 MB / 0.7236 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.1755, allocations: 4 kB / 0.7236 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.1755, allocations: 7.438 kB / 0.7236 GB, free: 12.05 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1755, allocations: 0 / 0.7236 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Templates: time 0.002769/0.1783, allocations: 434.9 kB / 0.724 GB, free: 11.63 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.76627839601133] Failed to read output from testmodel.py, exit status != 0: 0.18664866499602795 0.20195954400000002 0.028712975 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f87b02c5840>