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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.786/0.786, allocations: 130.7 MB / 138.7 MB, free: 3.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.5 MB / 391.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 95.25 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.732e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4903, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.645, allocations: 114.8 MB / 0.7403 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.6454, allocations: 79.95 kB / 0.7403 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.6608, allocations: 5.498 MB / 0.7457 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6608, allocations: 0 / 0.7457 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.156e-05/0.6609, allocations: 4 kB / 0.7457 GB, free: 6.398 MB / 0.5261 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.0006108/0.6615, allocations: 459.7 kB / 0.7461 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6615, allocations: 16.02 kB / 0.7462 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.6616, allocations: 15.81 kB / 0.7462 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.662, allocations: 268.4 kB / 0.7464 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6621, allocations: 0 / 0.7464 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.6621, allocations: 4 kB / 0.7464 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.6622, allocations: 31.98 kB / 0.7465 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.6624, allocations: 96.17 kB / 0.7466 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6624, allocations: 3.938 kB / 0.7466 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.6624, allocations: 0 / 0.7466 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6624, allocations: 4 kB / 0.7466 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.663, allocations: 337.2 kB / 0.7469 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.6632, allocations: 90.7 kB / 0.747 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.6633, allocations: 28.91 kB / 0.747 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6633, allocations: 4 kB / 0.747 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.6635, allocations: 71.39 kB / 0.7471 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.6635, allocations: 0 / 0.7471 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.00031/0.6638, allocations: 113.5 kB / 0.7472 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.6639, allocations: 110.8 kB / 0.7473 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.6642, allocations: 239.9 kB / 0.7475 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.6642, allocations: 25.7 kB / 0.7475 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.6643, allocations: 124 kB / 0.7477 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.6643, allocations: 15.81 kB / 0.7477 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.6643, allocations: 0 / 0.7477 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6645, allocations: 326.8 kB / 0.748 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.6645, allocations: 28 kB / 0.748 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.6646, allocations: 72.27 kB / 0.7481 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.6647, allocations: 27.98 kB / 0.7481 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6647, allocations: 0 / 0.7481 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.6649, allocations: 109.5 kB / 0.7482 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6649, allocations: 8 kB / 0.7482 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6649, allocations: 0 / 0.7482 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6649, allocations: 0 / 0.7482 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6651, allocations: 16.02 kB / 0.7482 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6651, allocations: 4 kB / 0.7482 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.6652, allocations: 15.89 kB / 0.7483 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6652, allocations: 4 kB / 0.7483 GB, free: 3.539 MB / 0.5261 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/0.6653, allocations: 114.3 kB / 0.7484 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.6653, allocations: 19.8 kB / 0.7484 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.6656, allocations: 111.5 kB / 0.7485 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6656, allocations: 4.188 kB / 0.7485 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6656, allocations: 4 kB / 0.7485 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6656, allocations: 3.938 kB / 0.7485 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.6658, allocations: 214 kB / 0.7487 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.6658, allocations: 0 / 0.7487 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.6659, allocations: 19.86 kB / 0.7487 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6659, allocations: 0 / 0.7487 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6659, allocations: 0 / 0.7487 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.6659, allocations: 0 / 0.7487 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6659, allocations: 0 / 0.7487 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.6661, allocations: 144.9 kB / 0.7489 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.6662, allocations: 104.9 kB / 0.749 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.6662, allocations: 3.938 kB / 0.749 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.6663, allocations: 8 kB / 0.749 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.6664, allocations: 12.02 kB / 0.749 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6664, allocations: 0 / 0.749 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001614/0.6665, allocations: 192.4 kB / 0.7492 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6666, allocations: 0 / 0.7492 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002841/0.6668, allocations: 51.92 kB / 0.7492 GB, free: 2.469 MB / 0.5261 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009029/0.6678, allocations: 360.9 kB / 0.7496 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.668, allocations: 75.91 kB / 0.7496 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.668, allocations: 4 kB / 0.7496 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.668, allocations: 31.98 kB / 0.7497 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.6683, allocations: 39.94 kB / 0.7497 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.6688, allocations: 221 kB / 0.7499 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.6691, allocations: 0.724 MB / 0.7506 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.6691, allocations: 25.5 kB / 0.7507 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.6692, allocations: 23.42 kB / 0.7507 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6692, allocations: 0 / 0.7507 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of Templates: time 0.006111/0.6753, allocations: 2.353 MB / 0.753 GB, free: 14.68 MB / 0.5417 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)