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.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.001299/0.001299, allocations: 105 kB / 20.45 MB, free: 1.5 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.001398/0.001398, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9421/0.9421, allocations: 150 MB / 463.9 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.002155/0.002155, allocations: 70.14 kB / 0.6425 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1649, allocations: 89.18 MB / 0.7296 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001982/0.1669, allocations: 0.5991 MB / 0.7302 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1685, allocations: 1.155 MB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.1685, allocations: 3.938 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.567e-05/0.1686, allocations: 4 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.1686, allocations: 3.938 kB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.1691, allocations: 123.7 kB / 0.7314 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1693, allocations: 87.88 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.1694, allocations: 7.938 kB / 0.7315 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.1695, allocations: 39.91 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1696, allocations: 35.83 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1696, allocations: 8 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.1697, allocations: 23.98 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1697, allocations: 15.98 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1698, allocations: 23.92 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.17, allocations: 91.72 kB / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.17, allocations: 0 / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.17, allocations: 0 / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.17, allocations: 0 / 0.7317 GB, free: 14.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004979/0.1705, allocations: 310.5 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1705, allocations: 19.95 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1706, allocations: 8.891 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1707, allocations: 114.5 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1708, allocations: 8.375 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1708, allocations: 4.375 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1709, allocations: 54.19 kB / 0.7322 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1709, allocations: 192 / 0.7322 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1709, allocations: 7.922 kB / 0.7322 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1709, allocations: 0 / 0.7322 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.171, allocations: 12 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1714, allocations: 267.9 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.1714, allocations: 30.52 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.1714, allocations: 4.922 kB / 0.7325 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1714, allocations: 4 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1716, allocations: 63.38 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1716, allocations: 0 / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001969/0.1718, allocations: 65.62 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1718, allocations: 59.39 kB / 0.7327 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.1719, allocations: 109.8 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.172, allocations: 25.7 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.172, allocations: 88.14 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.172, allocations: 7.953 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.1721, allocations: 29.7 kB / 0.733 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1722, allocations: 322.8 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.1723, allocations: 27.98 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.1724, allocations: 54.5 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1725, allocations: 84.42 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1725, allocations: 0 / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002629/0.1728, allocations: 143.3 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.1728, allocations: 33.7 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1728, allocations: 8.078 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1728, allocations: 0 / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.456e-05/0.1729, allocations: 4.312 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1729, allocations: 0 / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1731, allocations: 35.86 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1731, allocations: 8 kB / 0.7337 GB, free: 12.34 MB / 0.5606 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.0001123/0.1732, allocations: 129.8 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.1732, allocations: 7.938 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.1732, allocations: 4 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1732, allocations: 0 / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1732, allocations: 4 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1732, allocations: 0 / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1734, allocations: 140.6 kB / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1734, allocations: 0 / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-06/0.1734, allocations: 0 / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1734, allocations: 0 / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.1734, allocations: 0 / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1734, allocations: 0 / 0.7339 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1734, allocations: 8 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1735, allocations: 77.06 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.1735, allocations: 7.953 kB / 0.734 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1735, allocations: 7.984 kB / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1736, allocations: 0 / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1736, allocations: 0 / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1736, allocations: 0 / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.1736, allocations: 95.2 kB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1736, allocations: 4 kB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002211/0.1739, allocations: 12 kB / 0.7341 GB, free: 11.77 MB / 0.5606 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.000142/0.174, allocations: 100.8 kB / 0.7342 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1742, allocations: 107.3 kB / 0.7343 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1742, allocations: 3.938 kB / 0.7343 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.1743, allocations: 19.92 kB / 0.7344 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1745, allocations: 8.188 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1748, allocations: 151.8 kB / 0.7345 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1751, allocations: 0.6846 MB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.1751, allocations: 11.44 kB / 0.7352 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1751, allocations: 0 / 0.7352 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.002843/0.178, allocations: 0.9079 MB / 0.7361 GB, free: 9.715 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.959125271998346] Failed to read output from testmodel.py, exit status != 0: 0.18709395290352404 0.20212159799999996 0.028906438000000003 Calling exit ...