Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.008091/0.008091, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.001738/0.001738, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.042/1.042, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4464, allocations: 80.92 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002827/0.4493, allocations: 1.767 MB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.451, allocations: 1.109 MB / 0.6675 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4511, allocations: 1 kB / 0.6675 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.4515, allocations: 54.66 kB / 0.6675 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.4518, allocations: 82.06 kB / 0.6676 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.4524, allocations: 222 kB / 0.6678 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.4527, allocations: 144.4 kB / 0.6679 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4528, allocations: 24.58 kB / 0.668 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4529, allocations: 64.95 kB / 0.668 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.453, allocations: 62.84 kB / 0.6681 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.4531, allocations: 7.156 kB / 0.6681 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.4533, allocations: 73.33 kB / 0.6682 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.4534, allocations: 40.7 kB / 0.6682 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.4534, allocations: 64.67 kB / 0.6683 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.4538, allocations: 193.2 kB / 0.6684 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4538, allocations: 0 / 0.6684 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4538, allocations: 3.938 kB / 0.6684 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.4538, allocations: 3.984 kB / 0.6685 GB, free: 4.676 MB / 0.4981 GB 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.0006115/0.4544, allocations: 498.9 kB / 0.6689 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4545, allocations: 8.969 kB / 0.6689 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.4545, allocations: 21.11 kB / 0.669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.4548, allocations: 252.1 kB / 0.6692 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4548, allocations: 2.75 kB / 0.6692 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4549, allocations: 10.75 kB / 0.6692 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.4551, allocations: 105 kB / 0.6693 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4551, allocations: 0 / 0.6693 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4551, allocations: 0 / 0.6693 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4551, allocations: 3 kB / 0.6693 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.4552, allocations: 33.42 kB / 0.6693 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.4557, allocations: 360.1 kB / 0.6697 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.4559, allocations: 89.03 kB / 0.6698 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.456, allocations: 32.56 kB / 0.6698 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.456, allocations: 96 / 0.6698 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.4562, allocations: 88.47 kB / 0.6699 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.4562, allocations: 0 / 0.6699 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003502/0.4566, allocations: 132.2 kB / 0.67 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4566, allocations: 111.9 kB / 0.6701 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4568, allocations: 268 kB / 0.6704 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4569, allocations: 34.78 kB / 0.6704 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.4569, allocations: 116.3 kB / 0.6705 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.457, allocations: 27.8 kB / 0.6705 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.457, allocations: 22.75 kB / 0.6706 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.4571, allocations: 335.5 kB / 0.6709 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.4572, allocations: 25.86 kB / 0.6709 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.4573, allocations: 69.59 kB / 0.671 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.4574, allocations: 73.05 kB / 0.671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4574, allocations: 0 / 0.671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.4576, allocations: 121.5 kB / 0.6712 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4577, allocations: 4.531 kB / 0.6712 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4577, allocations: 5.312 kB / 0.6712 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4577, allocations: 1.156 kB / 0.6712 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4578, allocations: 14.5 kB / 0.6712 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4578, allocations: 3.984 kB / 0.6712 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.4579, allocations: 8.188 kB / 0.6712 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4579, allocations: 2.844 kB / 0.6712 GB, free: 2.164 MB / 0.4981 GB 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.0001165/0.458, allocations: 141.6 kB / 0.6713 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.4581, allocations: 14.69 kB / 0.6714 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.4581, allocations: 23.92 kB / 0.6714 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4582, allocations: 6.438 kB / 0.6714 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4582, allocations: 192 / 0.6714 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4582, allocations: 5.281 kB / 0.6714 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.4583, allocations: 225.4 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4584, allocations: 1.062 kB / 0.6716 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.4584, allocations: 8.484 kB / 0.6716 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4584, allocations: 1.094 kB / 0.6716 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4584, allocations: 1.219 kB / 0.6716 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4584, allocations: 0 / 0.6716 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4584, allocations: 0.9688 kB / 0.6716 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4587, allocations: 151.1 kB / 0.6718 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.4587, allocations: 103.3 kB / 0.6719 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.4588, allocations: 1.406 kB / 0.6719 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.4588, allocations: 5.578 kB / 0.6719 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.4589, allocations: 7.844 kB / 0.6719 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4589, allocations: 10.89 kB / 0.6719 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001622/0.4591, allocations: 196.3 kB / 0.6721 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4591, allocations: 0 / 0.6721 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.4593, allocations: 29.62 kB / 0.6721 GB, free: 1.379 MB / 0.4981 GB 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.0009569/0.4603, allocations: 432.1 kB / 0.6725 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4605, allocations: 75.2 kB / 0.6726 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4606, allocations: 1.281 kB / 0.6726 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.4607, allocations: 32.95 kB / 0.6726 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.461, allocations: 41.36 kB / 0.6727 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.4615, allocations: 297.9 kB / 0.6729 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.4616, allocations: 0.7188 MB / 0.6736 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.652e-05/0.4617, allocations: 31.09 kB / 0.6737 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.4618, allocations: 22.17 kB / 0.6737 GB, free: 152 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4618, allocations: 0 / 0.6737 GB, free: 152 kB / 0.4981 GB Notification: Performance of Templates: time 0.006111/0.4679, allocations: 2.551 MB / 0.6762 GB, free: 14.88 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)