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.00121/0.00121, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001272/0.001272, allocations: 191.7 kB / 22.98 MB, free: 5.062 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.329/1.329, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.8958/0.8958, allocations: 149.6 MB / 456.6 MB, free: 1.199 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.001799/0.001799, allocations: 76.94 kB / 0.6328 GB, free: 9.016 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1672, allocations: 87.87 MB / 0.7187 GB, free: 1.051 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001711/0.1689, allocations: 0.6335 MB / 0.7193 GB, free: 432 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0009101/0.1698, allocations: 0.8006 MB / 0.7201 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.1699, allocations: 0 / 0.7201 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 7.49e-05/0.1699, allocations: 0 / 0.7201 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 2.005e-05/0.17, allocations: 3.938 kB / 0.7201 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 9.155e-05/0.1701, allocations: 11.98 kB / 0.7201 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.1701, allocations: 27.88 kB / 0.7201 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.1702, allocations: 11.98 kB / 0.7201 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1702, allocations: 11.94 kB / 0.7201 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.1703, allocations: 11.92 kB / 0.7201 GB, free: 15.53 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1703, allocations: 4 kB / 0.7201 GB, free: 15.53 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.781e-06/0.1703, allocations: 0 / 0.7201 GB, free: 15.53 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.1704, allocations: 15.97 kB / 0.7201 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1704, allocations: 11.94 kB / 0.7202 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 7.644e-05/0.1705, allocations: 23.89 kB / 0.7202 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1705, allocations: 4 kB / 0.7202 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.072e-06/0.1705, allocations: 0 / 0.7202 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.529e-06/0.1705, allocations: 0 / 0.7202 GB, free: 15.47 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.0004175/0.1709, allocations: 274.2 kB / 0.7204 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1709, allocations: 8.625 kB / 0.7205 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.171, allocations: 4.938 kB / 0.7205 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1711, allocations: 114.5 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1711, allocations: 8.312 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1711, allocations: 4.359 kB / 0.7206 GB, free: 15.01 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1713, allocations: 58.23 kB / 0.7206 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1713, allocations: 4.188 kB / 0.7206 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1713, allocations: 3.938 kB / 0.7206 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1713, allocations: 0 / 0.7206 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1715, allocations: 31.97 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1719, allocations: 243.9 kB / 0.7209 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.172, allocations: 42.55 kB / 0.7209 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.1721, allocations: 16.91 kB / 0.721 GB, free: 14.56 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1721, allocations: 0 / 0.721 GB, free: 14.56 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1721, allocations: 30.56 kB / 0.721 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1721, allocations: 0 / 0.721 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of matching and sorting (n=1): time 0.0003004/0.1724, allocations: 89.53 kB / 0.7211 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1724, allocations: 55.41 kB / 0.7211 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.1725, allocations: 105.8 kB / 0.7212 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1725, allocations: 25.7 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1726, allocations: 88.08 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.1726, allocations: 3.953 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1726, allocations: 13.72 kB / 0.7214 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001437/0.1728, allocations: 318.9 kB / 0.7217 GB, free: 13.78 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.1728, allocations: 19.97 kB / 0.7217 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.1729, allocations: 15.98 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.173, allocations: 36.77 kB / 0.7217 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.173, allocations: 0 / 0.7217 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001641/0.1732, allocations: 61.72 kB / 0.7218 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1732, allocations: 11.94 kB / 0.7218 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1732, allocations: 0 / 0.7218 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1732, allocations: 0 / 0.7218 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.1733, allocations: 7.984 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1733, allocations: 0 / 0.7218 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1733, allocations: 8 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1733, allocations: 0 / 0.7218 GB, free: 13.61 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 8.786e-05/0.1734, allocations: 121.8 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.1735, allocations: 0 / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.1735, allocations: 7.094 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1735, allocations: 0 / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1735, allocations: 4 kB / 0.7219 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.1735, allocations: 0 / 0.7219 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1736, allocations: 136.7 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1736, allocations: 0 / 0.7221 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.1737, allocations: 11.94 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1737, allocations: 4 kB / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.1737, allocations: 0 / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1737, allocations: 0 / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1737, allocations: 3.984 kB / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1739, allocations: 151.5 kB / 0.7222 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.1739, allocations: 7.953 kB / 0.7222 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1739, allocations: 8.016 kB / 0.7223 GB, free: 13.1 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.174, allocations: 4 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.174, allocations: 256 / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.174, allocations: 3.984 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.619e-05/0.1741, allocations: 87.28 kB / 0.7223 GB, free: 13 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 0 / 0.7223 GB, free: 13 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002018/0.1743, allocations: 4 kB / 0.7223 GB, free: 13 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.0001062/0.1744, allocations: 99.23 kB / 0.7224 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001837/0.1746, allocations: 43.89 kB / 0.7225 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1746, allocations: 0 / 0.7225 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.1746, allocations: 15.98 kB / 0.7225 GB, free: 12.83 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1749, allocations: 8.625 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.1751, allocations: 105.5 kB / 0.7226 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1755, allocations: 0.6847 MB / 0.7233 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.724e-05/0.1755, allocations: 3.984 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1755, allocations: 7.438 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of SimCode: time 2.81e-07/0.1755, allocations: 0 / 0.7233 GB, free: 11.97 MB / 0.545 GB
Notification: Performance of Templates: time 0.002497/0.178, allocations: 436.5 kB / 0.7237 GB, free: 11.55 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.045343124307692]
Failed to read output from testmodel.py, exit status != 0:
0.1853216513991356 0.19856685000000002 0.025283813000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3590c557b0>