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.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.001747/0.001747, allocations: 73.47 kB / 20.5 MB, free: 1.281 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.002064/0.002064, allocations: 160.3 kB / 23.76 MB, free: 4.473 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.464/1.464, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.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.9279/0.9279, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.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.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: 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.002268/0.002268, allocations: 76.23 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1689, allocations: 89.14 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001931/0.1708, allocations: 0.6415 MB / 0.6427 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.172, allocations: 0.8591 MB / 0.6436 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1721, allocations: 0 / 0.6436 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.291e-05/0.1722, allocations: 3.938 kB / 0.6436 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.1722, allocations: 4 kB / 0.6436 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.1724, allocations: 23.92 kB / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.1724, allocations: 27.92 kB / 0.6436 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.1725, allocations: 11.98 kB / 0.6436 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.1726, allocations: 15.92 kB / 0.6436 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.1726, allocations: 11.98 kB / 0.6436 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1727, allocations: 7.938 kB / 0.6437 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.1727, allocations: 4 kB / 0.6437 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.1727, allocations: 7.984 kB / 0.6437 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1728, allocations: 11.94 kB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.697e-05/0.1729, allocations: 43.8 kB / 0.6437 GB, free: 7.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1729, allocations: 8 kB / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1729, allocations: 0 / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1729, allocations: 0 / 0.6437 GB, free: 7.852 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.0005308/0.1734, allocations: 270.3 kB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1734, allocations: 8.031 kB / 0.644 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1735, allocations: 8.891 kB / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1736, allocations: 122.4 kB / 0.6441 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1736, allocations: 384 / 0.6441 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1737, allocations: 4.375 kB / 0.6441 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.1739, allocations: 70.22 kB / 0.6442 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1739, allocations: 192 / 0.6442 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1739, allocations: 3.938 kB / 0.6442 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1739, allocations: 3.984 kB / 0.6442 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.1741, allocations: 43.95 kB / 0.6442 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1745, allocations: 228.3 kB / 0.6445 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1746, allocations: 38.56 kB / 0.6445 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1747, allocations: 32.89 kB / 0.6445 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1747, allocations: 0 / 0.6445 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1748, allocations: 30.56 kB / 0.6446 GB, free: 6.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1748, allocations: 0 / 0.6446 GB, free: 6.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.1752, allocations: 89.58 kB / 0.6446 GB, free: 6.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1752, allocations: 51.41 kB / 0.6447 GB, free: 6.734 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.1753, allocations: 110 kB / 0.6448 GB, free: 6.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1753, allocations: 29.7 kB / 0.6448 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1754, allocations: 88.08 kB / 0.6449 GB, free: 6.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1754, allocations: 3.953 kB / 0.6449 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1754, allocations: 17.72 kB / 0.6449 GB, free: 6.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1756, allocations: 314.8 kB / 0.6452 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.1757, allocations: 19.97 kB / 0.6452 GB, free: 6.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.1757, allocations: 19.98 kB / 0.6453 GB, free: 6.109 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1759, allocations: 53 kB / 0.6453 GB, free: 6.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1759, allocations: 0 / 0.6453 GB, free: 6.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002238/0.1762, allocations: 69.66 kB / 0.6454 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1762, allocations: 11.94 kB / 0.6454 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1762, allocations: 0 / 0.6454 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1762, allocations: 0 / 0.6454 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1763, allocations: 7.984 kB / 0.6454 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1763, allocations: 8.031 kB / 0.6454 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.1764, allocations: 4 kB / 0.6454 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1764, allocations: 7.984 kB / 0.6454 GB, free: 5.941 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 0.0001364/0.1765, allocations: 121 kB / 0.6455 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1765, allocations: 3.953 kB / 0.6455 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.1765, allocations: 7.312 kB / 0.6455 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1766, allocations: 0 / 0.6455 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1766, allocations: 0 / 0.6455 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1766, allocations: 4 kB / 0.6455 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1767, allocations: 109.2 kB / 0.6457 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1767, allocations: 4 kB / 0.6457 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.1768, allocations: 15.92 kB / 0.6457 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1768, allocations: 0 / 0.6457 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1768, allocations: 0 / 0.6457 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1768, allocations: 0 / 0.6457 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1768, allocations: 0 / 0.6457 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1771, allocations: 171.4 kB / 0.6458 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.1771, allocations: 0 / 0.6458 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1771, allocations: 8.031 kB / 0.6458 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.1772, allocations: 7.984 kB / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1773, allocations: 4 kB / 0.6459 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1773, allocations: 0 / 0.6459 GB, free: 5.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.1773, allocations: 83.27 kB / 0.6459 GB, free: 5.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 0 / 0.6459 GB, free: 5.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002312/0.1776, allocations: 8 kB / 0.6459 GB, free: 5.352 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 0.0001222/0.1777, allocations: 103.2 kB / 0.646 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1779, allocations: 43.95 kB / 0.6461 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1779, allocations: 0 / 0.6461 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.178, allocations: 23.98 kB / 0.6461 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1783, allocations: 9.328 kB / 0.6461 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.1786, allocations: 129.4 kB / 0.6462 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.1787, allocations: 67.28 kB / 0.6463 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.1787, allocations: 8.125 kB / 0.6463 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.1788, allocations: 12.48 kB / 0.6463 GB, free: 4.906 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1788, allocations: 3.938 kB / 0.6463 GB, free: 4.902 MB / 0.545 GB Notification: Performance of Templates: time 0.003267/0.182, allocations: 0.6426 MB / 0.647 GB, free: 4.262 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5168708770070225] Failed to read output from testmodel.py, exit status != 0: 0.19045823602937162 0.21141061500000002 0.034270505 Calling exit ...