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.0009972/0.0009972, allocations: 176.1 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4973/0.4973, allocations: 90.92 MB / 99.35 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 95.19 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.559e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5577, allocations: 105.2 MB / 0.6563 GB, free: 5.047 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.558, allocations: 76.7 kB / 0.6564 GB, free: 5.008 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.5725, allocations: 5.5 MB / 0.6617 GB, free: 484 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5725, allocations: 0 / 0.6617 GB, free: 484 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.5725, allocations: 0 / 0.6617 GB, free: 484 kB / 458.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.0005353/0.5731, allocations: 461.3 kB / 0.6622 GB, free: 15.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5731, allocations: 12.03 kB / 0.6622 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.5732, allocations: 23.75 kB / 0.6622 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.5735, allocations: 271.5 kB / 0.6625 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5736, allocations: 0 / 0.6625 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.5736, allocations: 4 kB / 0.6625 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.736e-05/0.5737, allocations: 34.8 kB / 0.6625 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.5738, allocations: 93.23 kB / 0.6626 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5739, allocations: 4 kB / 0.6626 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5739, allocations: 3.953 kB / 0.6626 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.5739, allocations: 0 / 0.6626 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.5744, allocations: 339.2 kB / 0.6629 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.5745, allocations: 78.7 kB / 0.663 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.5746, allocations: 43.03 kB / 0.6631 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.5746, allocations: 0 / 0.6631 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.5747, allocations: 76.59 kB / 0.6631 GB, free: 15.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.5747, allocations: 0 / 0.6631 GB, free: 15.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002588/0.575, allocations: 118.1 kB / 0.6632 GB, free: 14.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.575, allocations: 102.8 kB / 0.6633 GB, free: 14.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.5753, allocations: 235.2 kB / 0.6636 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.5753, allocations: 29.7 kB / 0.6636 GB, free: 14.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.5754, allocations: 127.4 kB / 0.6637 GB, free: 14.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.5754, allocations: 14.94 kB / 0.6637 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.5754, allocations: 0 / 0.6637 GB, free: 14.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5755, allocations: 332.9 kB / 0.664 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.5756, allocations: 22.06 kB / 0.6641 GB, free: 14.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.5756, allocations: 69.34 kB / 0.6641 GB, free: 14.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.5757, allocations: 37.84 kB / 0.6642 GB, free: 14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5757, allocations: 0 / 0.6642 GB, free: 14 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.5759, allocations: 103.4 kB / 0.6643 GB, free: 13.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5759, allocations: 4 kB / 0.6643 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5759, allocations: 0 / 0.6643 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.576, allocations: 7.953 kB / 0.6643 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.5761, allocations: 15.92 kB / 0.6643 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5761, allocations: 4 kB / 0.6643 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.5761, allocations: 11.88 kB / 0.6643 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5762, allocations: 4 kB / 0.6643 GB, free: 13.87 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 () * 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 7.922e-05/0.5762, allocations: 106.6 kB / 0.6644 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.5763, allocations: 16 kB / 0.6644 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.5765, allocations: 128.7 kB / 0.6645 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5765, allocations: 3.953 kB / 0.6646 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5765, allocations: 0 / 0.6646 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5765, allocations: 0 / 0.6646 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.5767, allocations: 215.9 kB / 0.6648 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5767, allocations: 3.938 kB / 0.6648 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.5768, allocations: 11.92 kB / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5768, allocations: 0 / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5768, allocations: 4 kB / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5768, allocations: 0 / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5768, allocations: 0 / 0.6648 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.577, allocations: 140.5 kB / 0.6649 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.5771, allocations: 96.11 kB / 0.665 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.5771, allocations: 11.98 kB / 0.665 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.5772, allocations: 0 / 0.665 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.5772, allocations: 11.36 kB / 0.665 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5772, allocations: 4 kB / 0.665 GB, free: 13.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5774, allocations: 189.5 kB / 0.6652 GB, free: 12.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5774, allocations: 0 / 0.6652 GB, free: 12.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.5777, allocations: 47.31 kB / 0.6653 GB, free: 12.92 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) * 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.0007887/0.5785, allocations: 376.5 kB / 0.6656 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.5786, allocations: 73.16 kB / 0.6657 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5786, allocations: 0 / 0.6657 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.68e-05/0.5787, allocations: 38.62 kB / 0.6657 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5789, allocations: 31.31 kB / 0.6657 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.5793, allocations: 217.6 kB / 0.666 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.5796, allocations: 0.7269 MB / 0.6667 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.5797, allocations: 25.5 kB / 0.6667 GB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.5797, allocations: 26.36 kB / 0.6667 GB, free: 11.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5797, allocations: 0 / 0.6667 GB, free: 11.52 MB / 474.7 MB Notification: Performance of Templates: time 0.004858/0.5846, allocations: 2.362 MB / 0.669 GB, free: 9.188 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)