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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 182.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4796/0.4796, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 95.97 kB / 427.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 12 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 72.31 MB / 0.5689 GB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6151/0.7896, allocations: 106 MB / 0.6723 GB, free: 14.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.79, allocations: 79.95 kB / 0.6724 GB, free: 14.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02107/0.8111, allocations: 5.56 MB / 0.6779 GB, free: 8.879 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8112, allocations: 0 / 0.6779 GB, free: 8.879 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.033e-05/0.8112, allocations: 4 kB / 0.6779 GB, free: 8.875 MB / 474.7 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.001058/0.8123, allocations: 0.4967 MB / 0.6783 GB, free: 8.324 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.8124, allocations: 8.031 kB / 0.6783 GB, free: 8.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.8125, allocations: 23.7 kB / 0.6784 GB, free: 8.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.8131, allocations: 263.6 kB / 0.6786 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.8132, allocations: 0 / 0.6786 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.8132, allocations: 8 kB / 0.6786 GB, free: 7.984 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.8135, allocations: 96.17 kB / 0.6787 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.8136, allocations: 0 / 0.6787 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.8136, allocations: 3.984 kB / 0.6787 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.8136, allocations: 7.953 kB / 0.6787 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.8138, allocations: 35.98 kB / 0.6788 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.8146, allocations: 368.7 kB / 0.6791 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.8149, allocations: 90.66 kB / 0.6792 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.815, allocations: 4 kB / 0.6792 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.8152, allocations: 87.42 kB / 0.6793 GB, free: 7.219 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.8153, allocations: 0 / 0.6793 GB, free: 7.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.8158, allocations: 218.6 kB / 0.6795 GB, free: 6.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.8159, allocations: 106.8 kB / 0.6796 GB, free: 6.852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.8163, allocations: 257.8 kB / 0.6798 GB, free: 6.586 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.8164, allocations: 25.7 kB / 0.6799 GB, free: 6.555 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.8165, allocations: 116.1 kB / 0.68 GB, free: 6.438 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.8166, allocations: 19.8 kB / 0.68 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.8166, allocations: 0 / 0.68 GB, free: 6.418 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8168, allocations: 330.8 kB / 0.6803 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.8169, allocations: 27.92 kB / 0.6803 GB, free: 6.059 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.817, allocations: 76.27 kB / 0.6804 GB, free: 5.969 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.8172, allocations: 31.98 kB / 0.6804 GB, free: 5.938 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8172, allocations: 0 / 0.6804 GB, free: 5.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000363/0.8176, allocations: 117.4 kB / 0.6806 GB, free: 5.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.8176, allocations: 11.95 kB / 0.6806 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8176, allocations: 0 / 0.6806 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.8176, allocations: 8.203 kB / 0.6806 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.8178, allocations: 16.03 kB / 0.6806 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8178, allocations: 3.938 kB / 0.6806 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.8179, allocations: 11.84 kB / 0.6806 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.818, allocations: 11.98 kB / 0.6806 GB, free: 5.754 MB / 474.7 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 ($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.0001851/0.8181, allocations: 141.8 kB / 0.6808 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.8182, allocations: 15.81 kB / 0.6808 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.8186, allocations: 135.4 kB / 0.6809 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.8186, allocations: 8 kB / 0.6809 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.8186, allocations: 0 / 0.6809 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8187, allocations: 3.938 kB / 0.6809 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.819, allocations: 225.6 kB / 0.6811 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.819, allocations: 3.938 kB / 0.6811 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.819, allocations: 7.984 kB / 0.6811 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8191, allocations: 0 / 0.6811 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.8191, allocations: 11.98 kB / 0.6811 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8191, allocations: 3.953 kB / 0.6812 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8191, allocations: 80 / 0.6812 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.8195, allocations: 153.5 kB / 0.6813 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8196, allocations: 100.9 kB / 0.6814 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.8196, allocations: 4 kB / 0.6814 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.8197, allocations: 4 kB / 0.6814 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.8198, allocations: 11.94 kB / 0.6814 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.8198, allocations: 8 kB / 0.6814 GB, free: 4.824 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002831/0.8201, allocations: 196.4 kB / 0.6816 GB, free: 4.633 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8201, allocations: 4 kB / 0.6816 GB, free: 4.629 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.8206, allocations: 51.92 kB / 0.6817 GB, free: 4.578 MB / 474.7 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.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.001452/0.8221, allocations: 444.3 kB / 0.6821 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.8224, allocations: 83.89 kB / 0.6822 GB, free: 4.223 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8224, allocations: 0 / 0.6822 GB, free: 4.223 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.8226, allocations: 35.98 kB / 0.6822 GB, free: 4.188 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.823, allocations: 36.91 kB / 0.6822 GB, free: 4.152 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.8239, allocations: 326.4 kB / 0.6825 GB, free: 3.809 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.8244, allocations: 0.7282 MB / 0.6833 GB, free: 3.055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.8245, allocations: 21.39 kB / 0.6833 GB, free: 3.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.8246, allocations: 23.42 kB / 0.6833 GB, free: 3.012 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8246, allocations: 0 / 0.6833 GB, free: 3.012 MB / 474.7 MB Notification: Performance of Templates: time 0.008519/0.8331, allocations: 2.473 MB / 0.6857 GB, free: 0.5625 MB / 474.7 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)