Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001131/0.001131, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001299/0.001299, allocations: 169.4 kB / 24.05 MB, free: 456 kB / 18.57 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.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.6521/0.6521, allocations: 115 MB / 376 MB, free: 7.508 MB / 346.7 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0.6562 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.072e-05, allocations: 5.484 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002314/0.002334, allocations: 1.828 MB / 483.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003688, allocations: 1.197 MB / 485 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.003765, allocations: 6 kB / 485 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.003988, allocations: 63.64 kB / 485.1 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.004244, allocations: 125.4 kB / 485.2 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.004747, allocations: 193 kB / 485.4 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.004934, allocations: 168.7 kB / 485.5 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.005008, allocations: 17.25 kB / 485.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005112, allocations: 86.03 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.005196, allocations: 59.53 kB / 485.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.005213, allocations: 7.906 kB / 485.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.005343, allocations: 86.41 kB / 485.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.005393, allocations: 40.03 kB / 485.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.005431, allocations: 36 kB / 485.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.005614, allocations: 169.3 kB / 486 MB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.005616, allocations: 0 / 486 MB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005617, allocations: 0.8125 kB / 486 MB, free: 9.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.00562, allocations: 0 / 486 MB, free: 9.312 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003938/0.006013, allocations: 0.5151 MB / 486.5 MB, free: 8.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.006047, allocations: 12.94 kB / 486.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.006087, allocations: 29.02 kB / 486.6 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.006228, allocations: 178.8 kB / 486.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.006243, allocations: 8.312 kB / 486.8 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.006253, allocations: 7.594 kB / 486.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.006354, allocations: 66.91 kB / 486.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.006362, allocations: 3.938 kB / 486.8 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.00637, allocations: 9.672 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.006385, allocations: 1.562 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.006418, allocations: 13.22 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.006682, allocations: 299.5 kB / 487.2 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.006778, allocations: 61.31 kB / 487.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.006804, allocations: 23.7 kB / 487.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.006818, allocations: 0.9688 kB / 487.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.637e-05/0.006905, allocations: 77.75 kB / 487.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.006906, allocations: 0.5 kB / 487.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001682/0.007074, allocations: 102.9 kB / 487.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.415e-05/0.007089, allocations: 52.5 kB / 487.5 MB, free: 8.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.007384, allocations: 280 kB / 487.7 MB, free: 23.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.007397, allocations: 30.41 kB / 487.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.007463, allocations: 172.1 kB / 487.9 MB, free: 23.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007486, allocations: 19.83 kB / 488 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.00752, allocations: 35.03 kB / 488 MB, free: 23.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.007628, allocations: 0.5064 MB / 488.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.007648, allocations: 12.94 kB / 488.5 MB, free: 23.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.007687, allocations: 67.95 kB / 488.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.007738, allocations: 41.31 kB / 488.6 MB, free: 23.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007739, allocations: 3.938 kB / 488.6 MB, free: 23.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.007847, allocations: 93.47 kB / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007859, allocations: 7.062 kB / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007864, allocations: 0 / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.007876, allocations: 1.531 kB / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.007937, allocations: 12.91 kB / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.007941, allocations: 1.844 kB / 488.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.007973, allocations: 6.844 kB / 488.7 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.007981, allocations: 6.953 kB / 488.8 MB, free: 22.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 7.303e-05/0.008054, allocations: 168.1 kB / 488.9 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.008076, allocations: 24.98 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.00821, allocations: 97.28 kB / 489 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.008218, allocations: 2.312 kB / 489 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.008221, allocations: 1.094 kB / 489 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.008225, allocations: 0 / 489 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.008342, allocations: 142.2 kB / 489.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.008344, allocations: 1.531 kB / 489.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.00837, allocations: 5.938 kB / 489.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.008375, allocations: 8.656 kB / 489.2 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008382, allocations: 1.406 kB / 489.2 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008384, allocations: 1.281 kB / 489.2 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008384, allocations: 0 / 489.2 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.008491, allocations: 135.3 kB / 489.3 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.00851, allocations: 20.91 kB / 489.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.008527, allocations: 9.812 kB / 489.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.00855, allocations: 2.438 kB / 489.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.008584, allocations: 15.09 kB / 489.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.008592, allocations: 2.781 kB / 489.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.008672, allocations: 185.4 kB / 489.6 MB, free: 22.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.008672, allocations: 0 / 489.6 MB, free: 22.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.008835, allocations: 39.97 kB / 489.6 MB, free: 22.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007964/0.009631, allocations: 403.9 kB / 490 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.009733, allocations: 46.59 kB / 490 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009734, allocations: 1.031 kB / 490 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.009772, allocations: 31.62 kB / 490.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.009947, allocations: 45.91 kB / 490.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.01024, allocations: 273.7 kB / 490.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.01027, allocations: 80.3 kB / 490.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.01031, allocations: 16.88 kB / 490.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.01039, allocations: 96.53 kB / 490.6 MB, free: 21.77 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01039, allocations: 0.8125 kB / 490.6 MB, free: 21.77 MB / 426.7 MB Notification: Performance of Templates: time 0.004601/0.015, allocations: 2.858 MB / 493.4 MB, free: 21.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.754072259180248]