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.001187/0.001187, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001352/0.001352, allocations: 175.9 kB / 24.84 MB, free: 8.859 MB / 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6354/0.6354, allocations: 115 MB / 376.8 MB, free: 7.488 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.432e-06/1.432e-06, allocations: 0.7656 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.693e-05, allocations: 4.406 kB / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002248/0.002265, allocations: 1.817 MB / 484.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.003682, allocations: 1.209 MB / 485.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.003773, allocations: 1.094 kB / 485.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.004053, allocations: 64.53 kB / 485.9 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.004355, allocations: 122.3 kB / 486 MB, free: 9.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.004828, allocations: 199.8 kB / 486.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.005019, allocations: 164.7 kB / 486.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.005109, allocations: 12.55 kB / 486.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005228, allocations: 91.42 kB / 486.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.005322, allocations: 64.41 kB / 486.5 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.005339, allocations: 6.625 kB / 486.5 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.005483, allocations: 84.95 kB / 486.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.00554, allocations: 36.72 kB / 486.6 MB, free: 9.371 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.005581, allocations: 37.44 kB / 486.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005784, allocations: 164.1 kB / 486.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005786, allocations: 0 / 486.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005787, allocations: 0 / 486.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.005791, allocations: 0 / 486.8 MB, free: 9.285 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.0004323/0.006224, allocations: 0.5205 MB / 487.3 MB, free: 8.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.006257, allocations: 10.12 kB / 487.3 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.00631, allocations: 23.61 kB / 487.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.006477, allocations: 185.8 kB / 487.6 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.006495, allocations: 7.359 kB / 487.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006505, allocations: 4.906 kB / 487.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006617, allocations: 73.27 kB / 487.6 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006624, allocations: 3.938 kB / 487.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.006633, allocations: 2.562 kB / 487.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.006653, allocations: 3.219 kB / 487.6 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.076e-05/0.006684, allocations: 15.41 kB / 487.7 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.006982, allocations: 300.8 kB / 488 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.007095, allocations: 70.36 kB / 488 MB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.007119, allocations: 20.12 kB / 488 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.007131, allocations: 1.25 kB / 488 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.967e-05/0.007221, allocations: 77.72 kB / 488.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.007223, allocations: 0 / 488.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001896/0.007412, allocations: 103 kB / 488.2 MB, free: 8.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.007433, allocations: 52.59 kB / 488.3 MB, free: 8.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.007574, allocations: 285.2 kB / 488.5 MB, free: 7.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.007585, allocations: 28.14 kB / 488.6 MB, free: 7.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.007805, allocations: 171.7 kB / 488.7 MB, free: 23.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.007827, allocations: 22.67 kB / 488.8 MB, free: 23.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.007863, allocations: 35.23 kB / 488.8 MB, free: 23.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007989, allocations: 0.5021 MB / 489.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.008015, allocations: 10.91 kB / 489.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.008058, allocations: 66.88 kB / 489.4 MB, free: 23.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.008109, allocations: 45.34 kB / 489.4 MB, free: 22.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008111, allocations: 0 / 489.4 MB, free: 22.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.008216, allocations: 89.81 kB / 489.5 MB, free: 22.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.008229, allocations: 9.188 kB / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.008235, allocations: 2.75 kB / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.008244, allocations: 0 / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.008312, allocations: 14 kB / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008315, allocations: 1.031 kB / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.008352, allocations: 7.594 kB / 489.5 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008359, allocations: 2.562 kB / 489.5 MB, free: 22.92 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 9.669e-05/0.008455, allocations: 162.3 kB / 489.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.008477, allocations: 24.39 kB / 489.7 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.008613, allocations: 100.2 kB / 489.8 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.008623, allocations: 8.828 kB / 489.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.008624, allocations: 0 / 489.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008628, allocations: 1.438 kB / 489.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.008733, allocations: 140.2 kB / 490 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008735, allocations: 1.438 kB / 490 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.008762, allocations: 5.562 kB / 490 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008764, allocations: 3.938 kB / 490 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00877, allocations: 13.75 kB / 490 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008772, allocations: 0 / 490 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008773, allocations: 0.9688 kB / 490 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.008877, allocations: 131.4 kB / 490.1 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.008895, allocations: 24.33 kB / 490.2 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.008913, allocations: 10.62 kB / 490.2 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.00894, allocations: 1.188 kB / 490.2 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.008977, allocations: 12.48 kB / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.008986, allocations: 5.922 kB / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.607e-05/0.009082, allocations: 184.2 kB / 490.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.009082, allocations: 0 / 490.4 MB, free: 22.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.009274, allocations: 36 kB / 490.4 MB, free: 22.28 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.0008357/0.01011, allocations: 397.7 kB / 490.8 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01024, allocations: 46.39 kB / 490.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01024, allocations: 0 / 490.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.01028, allocations: 39.05 kB / 490.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01048, allocations: 43.45 kB / 490.9 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.01081, allocations: 274.1 kB / 491.2 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.01084, allocations: 70.92 kB / 491.2 MB, free: 21.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.01089, allocations: 24.14 kB / 491.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.01101, allocations: 96.78 kB / 491.4 MB, free: 21.74 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01101, allocations: 1.406 kB / 491.4 MB, free: 21.74 MB / 426.7 MB Notification: Performance of Templates: time 0.00573/0.01674, allocations: 2.891 MB / 494.3 MB, free: 21.46 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.8182336040772498]