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.57/2.57, allocations: 284.8 MB / 297.3 MB, free: 6.355 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.001407/0.001407, allocations: 180.8 kB / 365.7 MB, free: 2.586 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.118/2.118, allocations: 205.1 MB / 0.6241 GB, free: 8.191 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.001605/0.001605, allocations: 91.64 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.949e-05, allocations: 11.98 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9019, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/1.173, allocations: 141.8 MB / 1.108 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.174, allocations: 77.12 kB / 1.108 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/1.199, allocations: 5.406 MB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/1.199, allocations: 0 / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.199, allocations: 4 kB / 1.114 GB, free: 5.23 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.0007272/1.2, allocations: 460.8 kB / 1.114 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.2, allocations: 12.91 kB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/1.2, allocations: 17.02 kB / 1.114 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/1.2, allocations: 251.6 kB / 1.114 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/1.201, allocations: 7.922 kB / 1.114 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/1.201, allocations: 8 kB / 1.114 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/1.201, allocations: 84.12 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.201, allocations: 0 / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.201, allocations: 4.719 kB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/1.201, allocations: 7.938 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/1.201, allocations: 36.48 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/1.202, allocations: 367.3 kB / 1.115 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/1.202, allocations: 75.42 kB / 1.115 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/1.202, allocations: 34.08 kB / 1.115 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.202, allocations: 0 / 1.115 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/1.202, allocations: 80.45 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/1.202, allocations: 0 / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003958/1.203, allocations: 113.5 kB / 1.115 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.203, allocations: 89.05 kB / 1.115 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/1.203, allocations: 239.7 kB / 1.116 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.203, allocations: 25.7 kB / 1.116 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.204, allocations: 124 kB / 1.116 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/1.204, allocations: 15.81 kB / 1.116 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/1.204, allocations: 0 / 1.116 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.204, allocations: 332.8 kB / 1.116 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/1.204, allocations: 28 kB / 1.116 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.204, allocations: 63.36 kB / 1.116 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/1.204, allocations: 27.98 kB / 1.116 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.204, allocations: 0 / 1.116 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002928/1.204, allocations: 121.3 kB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.204, allocations: 8.188 kB / 1.116 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.204, allocations: 0 / 1.116 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.204, allocations: 4.062 kB / 1.116 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.205, allocations: 12 kB / 1.116 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.205, allocations: 0 / 1.116 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.205, allocations: 15.88 kB / 1.116 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/1.205, allocations: 4 kB / 1.116 GB, free: 2.391 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.0001319/1.205, allocations: 117.5 kB / 1.116 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.205, allocations: 23.73 kB / 1.116 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/1.205, allocations: 130.5 kB / 1.117 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.205, allocations: 7.984 kB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.205, allocations: 2.375 kB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.205, allocations: 0 / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/1.206, allocations: 233.5 kB / 1.117 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.206, allocations: 0 / 1.117 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/1.206, allocations: 4 kB / 1.117 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.206, allocations: 4 kB / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/1.206, allocations: 3.984 kB / 1.117 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.206, allocations: 3.938 kB / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.206, allocations: 0 / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/1.206, allocations: 148.8 kB / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.206, allocations: 104.9 kB / 1.117 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.206, allocations: 4 kB / 1.117 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.207, allocations: 7.984 kB / 1.117 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/1.207, allocations: 7.984 kB / 1.117 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/1.207, allocations: 0 / 1.117 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000319/1.207, allocations: 200.2 kB / 1.117 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.207, allocations: 8 kB / 1.117 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003564/1.207, allocations: 39.84 kB / 1.117 GB, free: 1.27 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.001208/1.209, allocations: 384.7 kB / 1.118 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003251/1.209, allocations: 79.91 kB / 1.118 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.209, allocations: 0 / 1.118 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/1.209, allocations: 43.92 kB / 1.118 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/1.21, allocations: 38.86 kB / 1.118 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/1.21, allocations: 228.7 kB / 1.118 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/1.211, allocations: 0.7321 MB / 1.119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.211, allocations: 18.64 kB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/1.211, allocations: 27.44 kB / 1.119 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of SimCode: time 1.382e-06/1.211, allocations: 0 / 1.119 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.008624/1.22, allocations: 2.267 MB / 1.121 GB, free: 13.68 MB / 0.7292 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)