Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 168.6 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.6383 GB, free: 9.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006873/0.0006872, allocations: 84.08 kB / 0.7527 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 16 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 116.4 MB / 0.9904 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5813/0.8045, allocations: 143.1 MB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.8048, allocations: 82.81 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.8182, allocations: 5.449 MB / 1.136 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8182, allocations: 0 / 1.136 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.8182, allocations: 4.562 kB / 1.136 GB, free: 27.77 MB / 0.7292 GB 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.0005515/0.8188, allocations: 494.1 kB / 1.136 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.8188, allocations: 12.03 kB / 1.136 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.8189, allocations: 17.95 kB / 1.136 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.8192, allocations: 255.9 kB / 1.136 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.8192, allocations: 5.031 kB / 1.136 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.8193, allocations: 5.125 kB / 1.136 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.8195, allocations: 95.67 kB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8195, allocations: 3.938 kB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8195, allocations: 11.94 kB / 1.136 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.8195, allocations: 1.312 kB / 1.136 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.8196, allocations: 38.28 kB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.8201, allocations: 362 kB / 1.137 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.8203, allocations: 82.75 kB / 1.137 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.8204, allocations: 32.52 kB / 1.137 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.8204, allocations: 0.7969 kB / 1.137 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.8205, allocations: 83.72 kB / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.8206, allocations: 0 / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003123/0.8209, allocations: 148.2 kB / 1.137 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.8209, allocations: 82.84 kB / 1.137 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.8212, allocations: 261.5 kB / 1.137 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.8212, allocations: 30.31 kB / 1.137 GB, free: 25.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.8212, allocations: 116.4 kB / 1.138 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.8213, allocations: 21.33 kB / 1.138 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.8213, allocations: 3.938 kB / 1.138 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.8214, allocations: 336.5 kB / 1.138 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.8214, allocations: 27.94 kB / 1.138 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.8215, allocations: 68.14 kB / 1.138 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.8216, allocations: 72.33 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8216, allocations: 4 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001778/0.8218, allocations: 113.8 kB / 1.138 GB, free: 25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.8218, allocations: 4 kB / 1.138 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8219, allocations: 8.875 kB / 1.138 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8219, allocations: 4.625 kB / 1.138 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.822, allocations: 9.453 kB / 1.138 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.822, allocations: 0.7969 kB / 1.138 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.822, allocations: 17.41 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8221, allocations: 0.5156 kB / 1.138 GB, free: 24.96 MB / 0.7292 GB 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 () * 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.0001037/0.8222, allocations: 150.4 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.8222, allocations: 12.38 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.8224, allocations: 145.2 kB / 1.139 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.8224, allocations: 6.109 kB / 1.139 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8225, allocations: 0.75 kB / 1.139 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8225, allocations: 0.75 kB / 1.139 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.8226, allocations: 230.2 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8226, allocations: 0.7031 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.8227, allocations: 4.656 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8227, allocations: 0 / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8227, allocations: 4.609 kB / 1.139 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8227, allocations: 0.5625 kB / 1.139 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8227, allocations: 1.906 kB / 1.139 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.8229, allocations: 158.5 kB / 1.139 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.823, allocations: 99.78 kB / 1.139 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.823, allocations: 8.562 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.8231, allocations: 5.359 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.8231, allocations: 6.75 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.8231, allocations: 4.656 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001642/0.8233, allocations: 194.8 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/0.8233, allocations: 0 / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002432/0.8236, allocations: 45.98 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB 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) * 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.0009007/0.8245, allocations: 424.8 kB / 1.14 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.8247, allocations: 85.86 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8247, allocations: 0 / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.8248, allocations: 45.03 kB / 1.14 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.8251, allocations: 40.42 kB / 1.14 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.8256, allocations: 337.9 kB / 1.14 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.8258, allocations: 0.7315 MB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.8259, allocations: 35.98 kB / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.8259, allocations: 21.03 kB / 1.141 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.8259, allocations: 0 / 1.141 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.006055/0.832, allocations: 2.273 MB / 1.143 GB, free: 21.12 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)