Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8383/0.8383, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 180.4 kB / 173.8 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.000925, allocations: 96.17 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 11.73 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.3236, allocations: 106.6 MB / 0.7394 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.3239, allocations: 79.95 kB / 0.7395 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3257/0.6496, allocations: 5.418 MB / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6497, allocations: 0 / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.6497, allocations: 5.297 kB / 0.7448 GB, free: 108.1 MB / 0.5105 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.0006552/0.6504, allocations: 499.2 kB / 0.7453 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6504, allocations: 15.86 kB / 0.7453 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.6505, allocations: 18.39 kB / 0.7453 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.6509, allocations: 257.9 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6509, allocations: 11.08 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.6509, allocations: 4.625 kB / 0.7456 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.6511, allocations: 100.5 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6511, allocations: 0 / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.6512, allocations: 2.625 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6512, allocations: 3.375 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.6513, allocations: 38 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.6518, allocations: 372.3 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.6521, allocations: 92.69 kB / 0.7461 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.6521, allocations: 0 / 0.7461 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.6523, allocations: 93.36 kB / 0.7462 GB, free: 107 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.6523, allocations: 0 / 0.7462 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0004388/0.6528, allocations: 220.1 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.6528, allocations: 103.9 kB / 0.7465 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6531, allocations: 243.2 kB / 0.7468 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6532, allocations: 33.17 kB / 0.7468 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.6532, allocations: 118.8 kB / 0.7469 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.6533, allocations: 25.02 kB / 0.7469 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6533, allocations: 0 / 0.7469 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.6534, allocations: 329.5 kB / 0.7473 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.6534, allocations: 28.02 kB / 0.7473 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.6535, allocations: 73.66 kB / 0.7474 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.6536, allocations: 35.14 kB / 0.7474 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6536, allocations: 0 / 0.7474 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002235/0.6539, allocations: 118.5 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6539, allocations: 6.125 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6539, allocations: 192 / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6539, allocations: 4.922 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.6541, allocations: 21.48 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6541, allocations: 0.6875 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.6542, allocations: 12.39 kB / 0.7475 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.6542, allocations: 2.812 kB / 0.7476 GB, free: 106.1 MB / 0.5105 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.0001178/0.6543, allocations: 143.4 kB / 0.7477 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.6543, allocations: 20.11 kB / 0.7477 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.6546, allocations: 124.8 kB / 0.7478 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6546, allocations: 9.188 kB / 0.7478 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6546, allocations: 0 / 0.7478 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6547, allocations: 4.875 kB / 0.7478 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.6548, allocations: 234.1 kB / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6549, allocations: 0 / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.6549, allocations: 14.52 kB / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6549, allocations: 0 / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6549, allocations: 2.25 kB / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6549, allocations: 4.375 kB / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6549, allocations: 3.953 kB / 0.7481 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.6552, allocations: 150.3 kB / 0.7482 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.6553, allocations: 107.4 kB / 0.7483 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6553, allocations: 2.562 kB / 0.7483 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.6554, allocations: 4.125 kB / 0.7483 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.6554, allocations: 9.5 kB / 0.7483 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6555, allocations: 8.734 kB / 0.7484 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000208/0.6557, allocations: 195.7 kB / 0.7485 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6557, allocations: 0 / 0.7485 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003292/0.656, allocations: 51.5 kB / 0.7486 GB, free: 105.5 MB / 0.5105 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.001145/0.6572, allocations: 451.1 kB / 0.749 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.6575, allocations: 88.09 kB / 0.7491 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6575, allocations: 1 kB / 0.7491 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6576, allocations: 40.64 kB / 0.7491 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6578, allocations: 35.86 kB / 0.7492 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.6584, allocations: 323.8 kB / 0.7495 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.6586, allocations: 0.7292 MB / 0.7502 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.6587, allocations: 26.44 kB / 0.7502 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.6588, allocations: 20.3 kB / 0.7502 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.6588, allocations: 0 / 0.7502 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.006425/0.6652, allocations: 2.497 MB / 0.7527 GB, free: 104.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)