Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 174.9 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.5879/0.5879, 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.34/1.34, allocations: 221.5 MB / 343.2 MB, free: 1.527 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.0008705/0.0008706, allocations: 99.78 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.66e-05, allocations: 8 kB / 494.5 MB, free: 52.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 72.32 MB / 0.5535 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5817, allocations: 105.2 MB / 0.6563 GB, free: 5.055 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.582, allocations: 77.7 kB / 0.6564 GB, free: 5.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.5962, allocations: 5.51 MB / 0.6618 GB, free: 488 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5963, allocations: 7.938 kB / 0.6618 GB, free: 480 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5963, allocations: 4 kB / 0.6618 GB, free: 476 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004794/0.5968, allocations: 465.3 kB / 0.6622 GB, free: 15.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5968, allocations: 8.031 kB / 0.6622 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.5969, allocations: 19.77 kB / 0.6622 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.5972, allocations: 252.1 kB / 0.6625 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5973, allocations: 0 / 0.6625 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.5973, allocations: 8 kB / 0.6625 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.413e-05/0.5974, allocations: 30.73 kB / 0.6625 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.5975, allocations: 83.69 kB / 0.6626 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5975, allocations: 0 / 0.6626 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5975, allocations: 0 / 0.6626 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.5975, allocations: 7.953 kB / 0.6626 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.598, allocations: 338.1 kB / 0.6629 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.5981, allocations: 63.56 kB / 0.663 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.5982, allocations: 34.28 kB / 0.663 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.5982, allocations: 0 / 0.663 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.5983, allocations: 84.05 kB / 0.6631 GB, free: 15.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5984, allocations: 4 kB / 0.6631 GB, free: 15.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002579/0.5986, allocations: 113.6 kB / 0.6632 GB, free: 14.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5987, allocations: 81.2 kB / 0.6633 GB, free: 14.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.5989, allocations: 236.5 kB / 0.6635 GB, free: 14.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5989, allocations: 29.69 kB / 0.6635 GB, free: 14.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.599, allocations: 124.6 kB / 0.6637 GB, free: 14.53 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.599, allocations: 27.09 kB / 0.6637 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.599, allocations: 0 / 0.6637 GB, free: 14.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.5991, allocations: 333.5 kB / 0.664 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.5992, allocations: 25.23 kB / 0.664 GB, free: 14.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.5992, allocations: 53.98 kB / 0.6641 GB, free: 14.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.5993, allocations: 39.33 kB / 0.6641 GB, free: 14.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5993, allocations: 0 / 0.6641 GB, free: 14.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001611/0.5995, allocations: 109.9 kB / 0.6642 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5995, allocations: 4 kB / 0.6642 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5995, allocations: 4.062 kB / 0.6642 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5995, allocations: 0 / 0.6642 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.5996, allocations: 19.94 kB / 0.6642 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.5996, allocations: 0 / 0.6642 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.5997, allocations: 4 kB / 0.6643 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5997, allocations: 4 kB / 0.6643 GB, free: 13.95 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: 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 7.096e-05/0.5998, allocations: 108.9 kB / 0.6644 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.5998, allocations: 15.81 kB / 0.6644 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.6, allocations: 129.9 kB / 0.6645 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.6001, allocations: 7.5 kB / 0.6645 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6001, allocations: 3.953 kB / 0.6645 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6001, allocations: 0 / 0.6645 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.6002, allocations: 207.9 kB / 0.6647 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6002, allocations: 0 / 0.6647 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.6003, allocations: 4 kB / 0.6647 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6003, allocations: 3.938 kB / 0.6647 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.6003, allocations: 4 kB / 0.6647 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6003, allocations: 0 / 0.6647 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6003, allocations: 7.984 kB / 0.6647 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.6005, allocations: 141.4 kB / 0.6649 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.6006, allocations: 100.2 kB / 0.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.6006, allocations: 0 / 0.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.6007, allocations: 4 kB / 0.665 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.6007, allocations: 11.17 kB / 0.665 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.6007, allocations: 0 / 0.665 GB, free: 13.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.6009, allocations: 188.3 kB / 0.6651 GB, free: 13.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.623e-06/0.6009, allocations: 0 / 0.6651 GB, free: 13.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.6011, allocations: 47.19 kB / 0.6652 GB, free: 13 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: 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.000762/0.6019, allocations: 368 kB / 0.6655 GB, free: 12.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.6021, allocations: 71.23 kB / 0.6656 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6021, allocations: 0 / 0.6656 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.6021, allocations: 42.8 kB / 0.6657 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.6024, allocations: 37.89 kB / 0.6657 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.6028, allocations: 217 kB / 0.6659 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.603, allocations: 0.7384 MB / 0.6666 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.377e-05/0.6031, allocations: 25.12 kB / 0.6666 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.6032, allocations: 19.44 kB / 0.6667 GB, free: 11.61 MB / 474.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6032, allocations: 0 / 0.6667 GB, free: 11.61 MB / 474.7 MB Notification: Performance of Templates: time 0.00484/0.608, allocations: 2.126 MB / 0.6687 GB, free: 9.508 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)