Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7104/0.7104, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001006/0.001006, allocations: 184.8 kB / 164.7 MB, free: 6.516 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.59/1.59, allocations: 205.2 MB / 399.5 MB, free: 5.898 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.0008409/0.0008411, allocations: 95.27 kB / 476.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.576e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 76.76 MB / 0.6215 GB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.6397, allocations: 106.1 MB / 0.7251 GB, free: 9.543 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.64, allocations: 84.17 kB / 0.7252 GB, free: 9.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.6542, allocations: 5.383 MB / 0.7305 GB, free: 5.059 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6543, allocations: 0 / 0.7305 GB, free: 5.059 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.6543, allocations: 4 kB / 0.7305 GB, free: 5.055 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004798/0.6548, allocations: 463.1 kB / 0.7309 GB, free: 4.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6548, allocations: 8.031 kB / 0.7309 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.6549, allocations: 19.77 kB / 0.731 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.6554, allocations: 249.6 kB / 0.7312 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.6554, allocations: 0 / 0.7312 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.6554, allocations: 4 kB / 0.7312 GB, free: 4.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.148e-05/0.6555, allocations: 34.8 kB / 0.7312 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6556, allocations: 86.05 kB / 0.7313 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6556, allocations: 3.938 kB / 0.7313 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6557, allocations: 0 / 0.7313 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.6557, allocations: 0 / 0.7313 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6562, allocations: 340.2 kB / 0.7316 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.6563, allocations: 72.05 kB / 0.7317 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.6564, allocations: 31.7 kB / 0.7317 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.6564, allocations: 3.938 kB / 0.7317 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.6565, allocations: 78.39 kB / 0.7318 GB, free: 3.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.6565, allocations: 0 / 0.7318 GB, free: 3.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000303/0.6569, allocations: 118.3 kB / 0.7319 GB, free: 3.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.6569, allocations: 77.11 kB / 0.732 GB, free: 3.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.6572, allocations: 236.5 kB / 0.7322 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6572, allocations: 25.7 kB / 0.7323 GB, free: 3.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.6572, allocations: 115.6 kB / 0.7324 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.6573, allocations: 19.22 kB / 0.7324 GB, free: 3.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.6573, allocations: 3.938 kB / 0.7324 GB, free: 3.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6574, allocations: 333.3 kB / 0.7327 GB, free: 2.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.6575, allocations: 26.06 kB / 0.7327 GB, free: 2.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.6575, allocations: 59.09 kB / 0.7328 GB, free: 2.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.6576, allocations: 32.55 kB / 0.7328 GB, free: 2.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6576, allocations: 0 / 0.7328 GB, free: 2.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001654/0.6578, allocations: 109 kB / 0.7329 GB, free: 2.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6578, allocations: 4 kB / 0.7329 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6578, allocations: 7.984 kB / 0.7329 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6578, allocations: 0 / 0.7329 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.6579, allocations: 15.92 kB / 0.7329 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.658, allocations: 8.016 kB / 0.733 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.658, allocations: 11.84 kB / 0.733 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.658, allocations: 4 kB / 0.733 GB, free: 2.539 MB / 490.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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 8.391e-05/0.6581, allocations: 116.1 kB / 0.7331 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.6582, allocations: 19.8 kB / 0.7331 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.6584, allocations: 123.1 kB / 0.7332 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.6584, allocations: 4 kB / 0.7332 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6584, allocations: 4 kB / 0.7332 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6584, allocations: 3.953 kB / 0.7332 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.6586, allocations: 205 kB / 0.7334 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6586, allocations: 0 / 0.7334 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.6587, allocations: 8 kB / 0.7334 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6587, allocations: 3.938 kB / 0.7334 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.6587, allocations: 3.984 kB / 0.7334 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6587, allocations: 0 / 0.7334 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6587, allocations: 0 / 0.7334 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.6589, allocations: 146 kB / 0.7336 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.659, allocations: 100.5 kB / 0.7337 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.659, allocations: 7.5 kB / 0.7337 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.6591, allocations: 4.078 kB / 0.7337 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.6591, allocations: 7.938 kB / 0.7337 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.6591, allocations: 4 kB / 0.7337 GB, free: 1.781 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.6593, allocations: 186.6 kB / 0.7339 GB, free: 1.637 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6593, allocations: 4 kB / 0.7339 GB, free: 1.633 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000245/0.6596, allocations: 39.92 kB / 0.7339 GB, free: 1.594 MB / 490.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: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.0008295/0.6604, allocations: 370.8 kB / 0.7343 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.6606, allocations: 79.03 kB / 0.7343 GB, free: 1.242 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6606, allocations: 0 / 0.7343 GB, free: 1.242 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.6607, allocations: 34.62 kB / 0.7344 GB, free: 1.219 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.661, allocations: 48.06 kB / 0.7344 GB, free: 1.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.6615, allocations: 218.8 kB / 0.7346 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.6619, allocations: 0.7332 MB / 0.7353 GB, free: 224 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.662, allocations: 29.5 kB / 0.7354 GB, free: 192 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.6621, allocations: 15.44 kB / 0.7354 GB, free: 176 kB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6621, allocations: 0 / 0.7354 GB, free: 176 kB / 490.7 MB Notification: Performance of Templates: time 0.005671/0.6678, allocations: 2.133 MB / 0.7375 GB, free: 14.06 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)