Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001658/0.001658, 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.001621/0.001621, 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.451/1.451, allocations: 225.6 MB / 252.3 MB, free: 13.04 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 1.081/1.081, allocations: 149.5 MB / 457 MB, free: 1.223 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 80.45 kB / 0.6331 GB, free: 9.09 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1699, allocations: 87.87 MB / 0.7189 GB, free: 1.133 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001863/0.1718, allocations: 0.6087 MB / 0.7195 GB, free: 0.5273 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001552/0.1733, allocations: 1.124 MB / 0.7206 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.1734, allocations: 4 kB / 0.7206 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 9.262e-05/0.1735, allocations: 0 / 0.7206 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 2.884e-05/0.1735, allocations: 7.922 kB / 0.7207 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.174, allocations: 126.5 kB / 0.7208 GB, free: 15.26 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1742, allocations: 91.81 kB / 0.7209 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.1743, allocations: 4 kB / 0.7209 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.1743, allocations: 35.92 kB / 0.7209 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1744, allocations: 39.81 kB / 0.7209 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1745, allocations: 8 kB / 0.7209 GB, free: 15.08 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.1745, allocations: 27.98 kB / 0.721 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1746, allocations: 8 kB / 0.721 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.1747, allocations: 31.84 kB / 0.721 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1748, allocations: 91.72 kB / 0.7211 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1748, allocations: 0 / 0.7211 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.1748, allocations: 0 / 0.7211 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.529e-06/0.1748, allocations: 0 / 0.7211 GB, free: 14.93 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.0005302/0.1754, allocations: 304 kB / 0.7214 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1754, allocations: 8.625 kB / 0.7214 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.1755, allocations: 12.94 kB / 0.7214 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1756, allocations: 122.5 kB / 0.7215 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1757, allocations: 4.375 kB / 0.7215 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1757, allocations: 4.375 kB / 0.7215 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1758, allocations: 54.17 kB / 0.7216 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1758, allocations: 4.188 kB / 0.7216 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1758, allocations: 3.938 kB / 0.7216 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1758, allocations: 0 / 0.7216 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.1758, allocations: 11.98 kB / 0.7216 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1762, allocations: 275.9 kB / 0.7219 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.1763, allocations: 26.52 kB / 0.7219 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1763, allocations: 8.844 kB / 0.7219 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1763, allocations: 0 / 0.7219 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.1764, allocations: 55.47 kB / 0.722 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1764, allocations: 0 / 0.722 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0001975/0.1766, allocations: 81.5 kB / 0.722 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1767, allocations: 51.41 kB / 0.7221 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.1768, allocations: 105.8 kB / 0.7222 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1768, allocations: 25.7 kB / 0.7222 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.1769, allocations: 92.09 kB / 0.7223 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.1769, allocations: 3.953 kB / 0.7223 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.177, allocations: 33.7 kB / 0.7223 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001542/0.1771, allocations: 322.8 kB / 0.7226 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.1772, allocations: 31.98 kB / 0.7227 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.1773, allocations: 46.56 kB / 0.7227 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1774, allocations: 80.2 kB / 0.7228 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1774, allocations: 320 / 0.7228 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002737/0.1777, allocations: 147.3 kB / 0.7229 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.1777, allocations: 41.78 kB / 0.723 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1777, allocations: 0 / 0.723 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1777, allocations: 7.938 kB / 0.723 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-05/0.1778, allocations: 4 kB / 0.723 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1778, allocations: 0 / 0.723 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.178, allocations: 27.97 kB / 0.723 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.178, allocations: 4 kB / 0.723 GB, free: 12.73 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 3
 * 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.0001177/0.1781, allocations: 133.8 kB / 0.7231 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1781, allocations: 7.891 kB / 0.7231 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.1782, allocations: 4 kB / 0.7231 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1782, allocations: 0 / 0.7231 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1782, allocations: 0 / 0.7231 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1782, allocations: 4 kB / 0.7232 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.1783, allocations: 136.7 kB / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1783, allocations: 0 / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-06/0.1783, allocations: 0 / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1783, allocations: 0 / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.1783, allocations: 0 / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1783, allocations: 4 kB / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1783, allocations: 0 / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1784, allocations: 85.3 kB / 0.7234 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.1785, allocations: 3.984 kB / 0.7234 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1785, allocations: 4 kB / 0.7234 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.1785, allocations: 3.984 kB / 0.7234 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1785, allocations: 3.984 kB / 0.7234 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1785, allocations: 0 / 0.7234 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.285e-05/0.1786, allocations: 99.2 kB / 0.7235 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 0 / 0.7235 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002215/0.1788, allocations: 15.95 kB / 0.7235 GB, free: 12.16 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: 3 ($whenCondition1,$whenCondition2,booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001626/0.179, allocations: 103.2 kB / 0.7236 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002221/0.1792, allocations: 111.3 kB / 0.7237 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1792, allocations: 0 / 0.7237 GB, free: 11.93 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.1792, allocations: 15.94 kB / 0.7237 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1794, allocations: 12.12 kB / 0.7237 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1797, allocations: 122.3 kB / 0.7238 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1801, allocations: 0.6807 MB / 0.7245 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.094e-05/0.1801, allocations: 4 kB / 0.7245 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.1801, allocations: 7.438 kB / 0.7245 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of SimCode: time 3.3e-07/0.1801, allocations: 0 / 0.7245 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of Templates: time 0.003991/0.1841, allocations: 1.075 MB / 0.7256 GB, free: 9.977 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.760698361991672]
Failed to read output from testmodel.py, exit status != 0:
0.193179019013769 0.20903290099999994 0.030787397
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f85767dd840>