Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00148/0.00148, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001689/0.001689, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7937/0.7937, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.5 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002899/0.1314, allocations: 1.766 MB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1331, allocations: 1.111 MB / 0.6632 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.1333, allocations: 4 kB / 0.6632 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1335, allocations: 51.73 kB / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1338, allocations: 79.67 kB / 0.6633 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.1345, allocations: 222.7 kB / 0.6635 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1347, allocations: 155.6 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1348, allocations: 25.11 kB / 0.6637 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1349, allocations: 67.75 kB / 0.6637 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.135, allocations: 59.75 kB / 0.6638 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.135, allocations: 8 kB / 0.6638 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1352, allocations: 75.89 kB / 0.6639 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.1353, allocations: 39.84 kB / 0.6639 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.1354, allocations: 51.67 kB / 0.664 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1357, allocations: 207.2 kB / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1357, allocations: 0 / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1357, allocations: 0 / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1357, allocations: 0 / 0.6642 GB, free: 6.355 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.0006144/0.1363, allocations: 0.4883 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1363, allocations: 8.031 kB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1364, allocations: 20.8 kB / 0.6647 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1367, allocations: 253 kB / 0.6649 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1368, allocations: 8.375 kB / 0.6649 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1368, allocations: 8.125 kB / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.137, allocations: 100.1 kB / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.137, allocations: 0 / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.137, allocations: 0 / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.137, allocations: 4 kB / 0.665 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1372, allocations: 31.97 kB / 0.6651 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1376, allocations: 360.6 kB / 0.6654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1379, allocations: 90.66 kB / 0.6655 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.138, allocations: 32.84 kB / 0.6655 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.138, allocations: 0 / 0.6655 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1382, allocations: 87.41 kB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1382, allocations: 0 / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003654/0.1385, allocations: 145.5 kB / 0.6657 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1386, allocations: 102.8 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1389, allocations: 262.8 kB / 0.6661 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1389, allocations: 29.7 kB / 0.6661 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.139, allocations: 124 kB / 0.6662 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.139, allocations: 23.83 kB / 0.6663 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.139, allocations: 25.72 kB / 0.6663 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1392, allocations: 334.8 kB / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.1392, allocations: 31.92 kB / 0.6666 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1394, allocations: 64.28 kB / 0.6667 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1395, allocations: 73.69 kB / 0.6668 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1395, allocations: 0 / 0.6668 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.1398, allocations: 117.5 kB / 0.6669 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1398, allocations: 4 kB / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.1398, allocations: 0 / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1398, allocations: 0 / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.1399, allocations: 19.98 kB / 0.6669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1399, allocations: 0 / 0.6669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.14, allocations: 4 kB / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.14, allocations: 7.938 kB / 0.6669 GB, free: 3.262 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.00012/0.1401, allocations: 157.7 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1402, allocations: 15.91 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.1402, allocations: 21.39 kB / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1402, allocations: 192 / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1402, allocations: 0 / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1403, allocations: 105 kB / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.1403, allocations: 3.938 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.1404, allocations: 8 kB / 0.6672 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.1405, allocations: 11.98 kB / 0.6672 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002611/0.1407, allocations: 180.9 kB / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002845/0.141, allocations: 294.6 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.428e-05/0.1411, allocations: 35.98 kB / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001681/0.1413, allocations: 195.2 kB / 0.6679 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of Backend: time 3.4e-07/0.1413, allocations: 0 / 0.6679 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.1426, allocations: 450.5 kB / 0.6683 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006658/0.1433, allocations: 0.738 MB / 0.669 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.005723/0.149, allocations: 2.587 MB / 0.6716 GB, free: 14.6 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)