Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.3 MB / 303.2 MB, free: 8.059 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.001092/0.001092, allocations: 169.1 kB / 371.8 MB, free: 10.28 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.803/1.803, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009073/0.0009071, allocations: 95 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005488, allocations: 19.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7938/1.009, allocations: 142 MB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.01, allocations: 79 kB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/1.025, allocations: 5.422 MB / 1.123 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.025, allocations: 0 / 1.123 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.025, allocations: 0 / 1.123 GB, free: 31.83 MB / 0.698 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.0007364/1.025, allocations: 0.4929 MB / 1.124 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.025, allocations: 11.8 kB / 1.124 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/1.025, allocations: 19.47 kB / 1.124 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.026, allocations: 248.2 kB / 1.124 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.026, allocations: 3.234 kB / 1.124 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/1.026, allocations: 7.75 kB / 1.124 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.026, allocations: 88.12 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.026, allocations: 0 / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.026, allocations: 7.234 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.026, allocations: 3.844 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/1.026, allocations: 35.55 kB / 1.124 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/1.027, allocations: 366.6 kB / 1.125 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/1.027, allocations: 79.36 kB / 1.125 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/1.027, allocations: 3.812 kB / 1.125 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/1.027, allocations: 82.2 kB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.027, allocations: 0 / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003708/1.028, allocations: 236.2 kB / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.028, allocations: 80.95 kB / 1.125 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/1.028, allocations: 241 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.028, allocations: 29.08 kB / 1.125 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/1.028, allocations: 118.1 kB / 1.126 GB, free: 30.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.028, allocations: 22.88 kB / 1.126 GB, free: 30.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.028, allocations: 3.875 kB / 1.126 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.028, allocations: 334.7 kB / 1.126 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/1.028, allocations: 28.06 kB / 1.126 GB, free: 29.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/1.028, allocations: 62.98 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/1.029, allocations: 35.17 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.029, allocations: 0 / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001777/1.029, allocations: 119.4 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.029, allocations: 3.969 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.029, allocations: 3.875 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.029, allocations: 0 / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/1.029, allocations: 13.83 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.029, allocations: 7.844 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/1.029, allocations: 7.906 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.029, allocations: 2.297 kB / 1.126 GB, free: 29.86 MB / 0.698 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.0001388/1.029, allocations: 146.2 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/1.029, allocations: 15.88 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/1.029, allocations: 136.8 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.029, allocations: 3.844 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.029, allocations: 4 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.029, allocations: 6.375 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/1.03, allocations: 238.4 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.03, allocations: 0 / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/1.03, allocations: 5.906 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.03, allocations: 3.844 kB / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.03, allocations: 0 / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.03, allocations: 0 / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.03, allocations: 0 / 1.127 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/1.03, allocations: 161.2 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/1.03, allocations: 102.8 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/1.03, allocations: 2.344 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/1.03, allocations: 3.812 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/1.03, allocations: 6.125 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/1.03, allocations: 6.25 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001887/1.03, allocations: 197.9 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.031, allocations: 0 / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002811/1.031, allocations: 48.89 kB / 1.127 GB, free: 29.21 MB / 0.698 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.0009775/1.032, allocations: 430.1 kB / 1.128 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002148/1.032, allocations: 79.55 kB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.032, allocations: 0 / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/1.032, allocations: 39.81 kB / 1.128 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.032, allocations: 44.89 kB / 1.128 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/1.033, allocations: 344.6 kB / 1.128 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.033, allocations: 0.727 MB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.191e-05/1.033, allocations: 19.28 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/1.033, allocations: 21.83 kB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.033, allocations: 0 / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of Templates: time 0.004837/1.038, allocations: 2.279 MB / 1.131 GB, free: 27.66 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)