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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 104.5 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 198.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.785/0.785, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 63.89 kB / 0.4906 GB, free: 7.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4545, allocations: 77.93 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003604/0.4582, allocations: 1.814 MB / 0.5685 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.4598, allocations: 1.094 MB / 0.5696 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.4599, allocations: 1.75 kB / 0.5696 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.4602, allocations: 55.56 kB / 0.5696 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.4605, allocations: 65.78 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.4611, allocations: 207.9 kB / 0.5699 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.4612, allocations: 141.8 kB / 0.57 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4614, allocations: 31.94 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4615, allocations: 62.56 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4616, allocations: 71.8 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4616, allocations: 6.062 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.4618, allocations: 71.34 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.4619, allocations: 36.45 kB / 0.5703 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.4619, allocations: 62.53 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.4622, allocations: 194.7 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4623, allocations: 1.531 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4623, allocations: 1.219 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.4623, allocations: 0.7031 kB / 0.5705 GB, free: 30.23 MB / 446.1 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.0005827/0.4629, allocations: 491.2 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4629, allocations: 10.16 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.463, allocations: 17.91 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.4632, allocations: 253.6 kB / 0.5713 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4632, allocations: 10.62 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4632, allocations: 9.281 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.4635, allocations: 98.94 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4635, allocations: 0 / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4635, allocations: 3.25 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4635, allocations: 6.797 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4636, allocations: 31.3 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.4641, allocations: 353.1 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.4643, allocations: 91.97 kB / 0.5718 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.4644, allocations: 32.58 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4645, allocations: 2.5 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.4647, allocations: 80.53 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.4647, allocations: 5.281 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003526/0.4651, allocations: 145.5 kB / 0.5721 GB, free: 28.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4651, allocations: 106.3 kB / 0.5722 GB, free: 28.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.4654, allocations: 264.2 kB / 0.5725 GB, free: 28.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.4654, allocations: 25.7 kB / 0.5725 GB, free: 28.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.4655, allocations: 123.8 kB / 0.5726 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.4655, allocations: 20.06 kB / 0.5726 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4655, allocations: 26.88 kB / 0.5726 GB, free: 28.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4656, allocations: 332.8 kB / 0.573 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4657, allocations: 25.8 kB / 0.573 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.4658, allocations: 68.64 kB / 0.573 GB, free: 28.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4659, allocations: 75.89 kB / 0.5731 GB, free: 28.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4659, allocations: 0.5 kB / 0.5731 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.4662, allocations: 111.8 kB / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4662, allocations: 5.953 kB / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4662, allocations: 0 / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4662, allocations: 1.156 kB / 0.5732 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4663, allocations: 18.11 kB / 0.5733 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4663, allocations: 1.125 kB / 0.5733 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.4664, allocations: 12.77 kB / 0.5733 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4664, allocations: 3.562 kB / 0.5733 GB, free: 27.96 MB / 446.1 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 0.0001066/0.4665, allocations: 143.8 kB / 0.5734 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.4666, allocations: 15.97 kB / 0.5734 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.4666, allocations: 19.28 kB / 0.5734 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.4666, allocations: 2.875 kB / 0.5734 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4666, allocations: 1.25 kB / 0.5734 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4666, allocations: 3.938 kB / 0.5734 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.4668, allocations: 232.7 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4668, allocations: 0.5156 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4669, allocations: 13.84 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4669, allocations: 1.906 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4669, allocations: 2.359 kB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4669, allocations: 4.812 kB / 0.5737 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4669, allocations: 1.766 kB / 0.5737 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.4672, allocations: 140.3 kB / 0.5738 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.4672, allocations: 96.83 kB / 0.5739 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4672, allocations: 6.062 kB / 0.5739 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.4673, allocations: 3.484 kB / 0.5739 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.4674, allocations: 11.73 kB / 0.5739 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4674, allocations: 10.53 kB / 0.5739 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.4676, allocations: 197.1 kB / 0.5741 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4676, allocations: 0 / 0.5741 GB, free: 27.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.4679, allocations: 32.66 kB / 0.5742 GB, free: 27.25 MB / 446.1 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0009595/0.4688, allocations: 426.1 kB / 0.5746 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4691, allocations: 71.02 kB / 0.5746 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4691, allocations: 0.6875 kB / 0.5746 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.4692, allocations: 43.81 kB / 0.5747 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4695, allocations: 35.38 kB / 0.5747 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.47, allocations: 324.5 kB / 0.575 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.4702, allocations: 0.7207 MB / 0.5757 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.069e-05/0.4703, allocations: 25.06 kB / 0.5758 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.4703, allocations: 20.69 kB / 0.5758 GB, free: 26.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4703, allocations: 0.625 kB / 0.5758 GB, free: 26.13 MB / 446.1 MB Notification: Performance of Templates: time 0.006835/0.4772, allocations: 2.518 MB / 0.5782 GB, free: 25.88 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)