Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 168.9 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.3 MB / 0.6192 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002316/0.002316, allocations: 92.2 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.48e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8332, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/1.074, allocations: 141.1 MB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.074, allocations: 80.58 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02463/1.099, allocations: 5.361 MB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.099, allocations: 1.406 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.832e-05/1.099, allocations: 4 kB / 1.107 GB, free: 10.04 MB / 0.7136 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.0007025/1.1, allocations: 460.5 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.1, allocations: 8.625 kB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/1.1, allocations: 17.02 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/1.1, allocations: 256.2 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.1, allocations: 0.625 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/1.1, allocations: 4 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001723/1.101, allocations: 32.55 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/1.101, allocations: 85.11 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.101, allocations: 0 / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/1.101, allocations: 8.547 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.101, allocations: 3.938 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/1.102, allocations: 344.7 kB / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/1.102, allocations: 62.69 kB / 1.108 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/1.102, allocations: 31.95 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/1.102, allocations: 96 / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/1.102, allocations: 88.19 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/1.102, allocations: 0.75 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003912/1.103, allocations: 113.5 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.103, allocations: 84.64 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/1.103, allocations: 231 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.103, allocations: 29.7 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.103, allocations: 116 kB / 1.108 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/1.103, allocations: 15.81 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.103, allocations: 0 / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.103, allocations: 338.8 kB / 1.109 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/1.104, allocations: 25.88 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.104, allocations: 61.8 kB / 1.109 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/1.104, allocations: 32.02 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.104, allocations: 0 / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003097/1.104, allocations: 113.3 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.104, allocations: 4 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.104, allocations: 4 kB / 1.109 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.104, allocations: 3.984 kB / 1.109 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.104, allocations: 11.94 kB / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.104, allocations: 0 / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.105, allocations: 7.938 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/1.105, allocations: 12.03 kB / 1.109 GB, free: 7.277 MB / 0.7136 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 () * 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.0001378/1.105, allocations: 114.4 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/1.105, allocations: 15.81 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/1.105, allocations: 125.1 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.105, allocations: 4 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.105, allocations: 0 / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.105, allocations: 0 / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/1.106, allocations: 206.1 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.106, allocations: 4 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/1.106, allocations: 15.92 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.106, allocations: 0 / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.106, allocations: 0 / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.106, allocations: 2.75 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.106, allocations: 0 / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/1.106, allocations: 152.8 kB / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.106, allocations: 96.92 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/1.106, allocations: 8 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.106, allocations: 3.984 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/1.106, allocations: 4 kB / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/1.106, allocations: 9.297 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002879/1.107, allocations: 184.2 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.107, allocations: 4 kB / 1.11 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003894/1.107, allocations: 43.83 kB / 1.11 GB, free: 6.219 MB / 0.7136 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) * 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.001124/1.108, allocations: 369.3 kB / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002988/1.109, allocations: 67.98 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.109, allocations: 0 / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/1.109, allocations: 39.94 kB / 1.11 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/1.109, allocations: 34.06 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/1.11, allocations: 235.6 kB / 1.111 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/1.11, allocations: 0.724 MB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000145/1.11, allocations: 23.16 kB / 1.111 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/1.11, allocations: 19.42 kB / 1.111 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.11, allocations: 5.125 kB / 1.111 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.008481/1.119, allocations: 2.13 MB / 1.114 GB, free: 2.766 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)