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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006809/0.006809, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.832/0.832, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.0008989/0.0008992, allocations: 94.39 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005468, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.528, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.6825, allocations: 115.8 MB / 0.7625 GB, free: 252 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.6828, allocations: 79.91 kB / 0.7626 GB, free: 172 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.6975, allocations: 5.559 MB / 0.768 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.248e-06/0.6976, allocations: 4 kB / 0.768 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.6976, allocations: 0 / 0.768 GB, free: 10.6 MB / 0.5417 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.0006402/0.6983, allocations: 496.1 kB / 0.7685 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6983, allocations: 12.03 kB / 0.7685 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.6984, allocations: 15.81 kB / 0.7685 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.6987, allocations: 267.5 kB / 0.7688 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6988, allocations: 4 kB / 0.7688 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.6988, allocations: 11.98 kB / 0.7688 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.699, allocations: 88.22 kB / 0.7689 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.699, allocations: 0 / 0.7689 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.699, allocations: 8 kB / 0.7689 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6991, allocations: 3.938 kB / 0.7689 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.6992, allocations: 43.91 kB / 0.7689 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.6997, allocations: 364.8 kB / 0.7693 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.6999, allocations: 94.69 kB / 0.7694 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.7, allocations: 4 kB / 0.7694 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.7001, allocations: 75.44 kB / 0.7694 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.7002, allocations: 0 / 0.7694 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0004151/0.7006, allocations: 230.5 kB / 0.7697 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.7007, allocations: 106.8 kB / 0.7698 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.7009, allocations: 249.9 kB / 0.77 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.7009, allocations: 33.7 kB / 0.77 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.701, allocations: 120 kB / 0.7701 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.701, allocations: 15.81 kB / 0.7702 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.7011, allocations: 0 / 0.7702 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7012, allocations: 326.8 kB / 0.7705 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.7013, allocations: 27.97 kB / 0.7705 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.7014, allocations: 76.2 kB / 0.7706 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.7015, allocations: 35.94 kB / 0.7706 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7015, allocations: 4 kB / 0.7706 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.7017, allocations: 117.8 kB / 0.7707 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7017, allocations: 4 kB / 0.7707 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7017, allocations: 0 / 0.7707 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7018, allocations: 3.938 kB / 0.7707 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.7019, allocations: 19.92 kB / 0.7708 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7019, allocations: 112 / 0.7708 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.7019, allocations: 19.8 kB / 0.7708 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.702, allocations: 7.984 kB / 0.7708 GB, free: 7.492 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7021, allocations: 141.8 kB / 0.7709 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.7021, allocations: 11.81 kB / 0.7709 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.7024, allocations: 135 kB / 0.7711 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7024, allocations: 4 kB / 0.7711 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7024, allocations: 0 / 0.7711 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7024, allocations: 4 kB / 0.7711 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.7027, allocations: 237.5 kB / 0.7713 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7027, allocations: 0 / 0.7713 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.7027, allocations: 8 kB / 0.7713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7027, allocations: 0 / 0.7713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7027, allocations: 0 / 0.7713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7027, allocations: 0 / 0.7713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7028, allocations: 0 / 0.7713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.703, allocations: 157.4 kB / 0.7714 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.7031, allocations: 100.9 kB / 0.7715 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.7031, allocations: 8 kB / 0.7715 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.7032, allocations: 3.984 kB / 0.7716 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.7033, allocations: 8.172 kB / 0.7716 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.7033, allocations: 4 kB / 0.7716 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001812/0.7035, allocations: 200.5 kB / 0.7718 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7035, allocations: 0 / 0.7718 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002739/0.7038, allocations: 51.88 kB / 0.7718 GB, free: 6.34 MB / 0.5417 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) * 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 (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.001014/0.7048, allocations: 449.7 kB / 0.7722 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.705, allocations: 83.94 kB / 0.7723 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.705, allocations: 0 / 0.7723 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.7051, allocations: 39.92 kB / 0.7724 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.7054, allocations: 40.47 kB / 0.7724 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.7059, allocations: 318.1 kB / 0.7727 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7062, allocations: 0.7321 MB / 0.7734 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.363e-05/0.7063, allocations: 25.38 kB / 0.7734 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.7064, allocations: 23.44 kB / 0.7735 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7064, allocations: 0 / 0.7735 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of Templates: time 0.005394/0.7118, allocations: 2.489 MB / 0.7759 GB, free: 2.285 MB / 0.5417 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)