Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001368/0.001368, allocations: 113.2 kB / 19.59 MB, free: 2.281 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.00113/0.00113, allocations: 189 kB / 22.85 MB, free: 5.664 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.292/1.292, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.9007/0.9007, allocations: 149.5 MB / 456.3 MB, free: 1.297 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 69.86 kB / 0.6324 GB, free: 9.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1657, allocations: 87.88 MB / 0.7182 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001742/0.1675, allocations: 0.6567 MB / 0.7188 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.1684, allocations: 0.8317 MB / 0.7197 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.1684, allocations: 0 / 0.7197 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.1685, allocations: 7.938 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.1685, allocations: 3.938 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.1687, allocations: 15.98 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.1688, allocations: 43.83 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.1688, allocations: 4 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.1689, allocations: 15.98 kB / 0.7197 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.169, allocations: 19.92 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.169, allocations: 0 / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.169, allocations: 4 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.169, allocations: 8 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.1691, allocations: 23.84 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.1692, allocations: 31.89 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1692, allocations: 4 kB / 0.7198 GB, free: 15.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1692, allocations: 0 / 0.7198 GB, free: 15.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1692, allocations: 0 / 0.7198 GB, free: 15.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000456/0.1696, allocations: 279.6 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1697, allocations: 12.62 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1697, allocations: 0.9375 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1698, allocations: 118.4 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1699, allocations: 4.375 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1699, allocations: 4.375 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1701, allocations: 66.23 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1701, allocations: 192 / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1701, allocations: 3.938 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1701, allocations: 7.922 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.1703, allocations: 51.88 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1707, allocations: 251.9 kB / 0.7206 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1708, allocations: 34.56 kB / 0.7206 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1709, allocations: 28.89 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1709, allocations: 0 / 0.7207 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1709, allocations: 38.5 kB / 0.7207 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1709, allocations: 0 / 0.7207 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.1713, allocations: 89.64 kB / 0.7208 GB, free: 14.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1714, allocations: 55.41 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.1714, allocations: 105.8 kB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1715, allocations: 25.7 kB / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.1715, allocations: 84.09 kB / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.1715, allocations: 3.938 kB / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1716, allocations: 25.83 kB / 0.7211 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1717, allocations: 318.8 kB / 0.7214 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.1718, allocations: 15.98 kB / 0.7214 GB, free: 13.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.1719, allocations: 27.91 kB / 0.7214 GB, free: 13.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.172, allocations: 40.89 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.172, allocations: 0 / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.1723, allocations: 69.61 kB / 0.7215 GB, free: 13.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1723, allocations: 7.984 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1723, allocations: 4 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1723, allocations: 0 / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.1724, allocations: 4 kB / 0.7215 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1724, allocations: 3.984 kB / 0.7215 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.1724, allocations: 12.03 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1724, allocations: 7.938 kB / 0.7216 GB, free: 13.56 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: 1 (intRep.y[3]) * 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 9.931e-05/0.1725, allocations: 121.7 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1726, allocations: 4 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.1726, allocations: 7.312 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1726, allocations: 0 / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1726, allocations: 0 / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1726, allocations: 0 / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1728, allocations: 136.7 kB / 0.7218 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1728, allocations: 4 kB / 0.7218 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.1728, allocations: 11.98 kB / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1728, allocations: 0 / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1728, allocations: 0 / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1728, allocations: 0 / 0.7218 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1728, allocations: 4 kB / 0.7218 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1731, allocations: 171.4 kB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.1731, allocations: 4 kB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1731, allocations: 7.984 kB / 0.722 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1732, allocations: 256 / 0.722 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1733, allocations: 7.984 kB / 0.722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.1733, allocations: 7.938 kB / 0.722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.1733, allocations: 83.28 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1733, allocations: 0 / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000209/0.1735, allocations: 11.94 kB / 0.7221 GB, free: 12.92 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: 1 (intRep.y[3]) * 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 9.894e-05/0.1736, allocations: 99.27 kB / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.1738, allocations: 47.89 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1738, allocations: 0 / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.1739, allocations: 15.98 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.1742, allocations: 16.06 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.1745, allocations: 125.4 kB / 0.7224 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1747, allocations: 0.6768 MB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1748, allocations: 4 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1748, allocations: 11.44 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.1748, allocations: 0 / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Templates: time 0.002819/0.1776, allocations: 0.6305 MB / 0.7237 GB, free: 11.24 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.047766914591193] Failed to read output from testmodel.py, exit status != 0: 0.1851305803284049 0.19856309300000002 0.026620440000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdd267217b0>