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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 289.7 MB / 302.3 MB, free: 2.18 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.001109/0.001109, allocations: 183.6 kB / 371.6 MB, free: 3.371 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.96/1.96, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008763/0.0008762, allocations: 87.22 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.37e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.399, allocations: 142.9 MB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/1.399, allocations: 78.64 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01311/1.412, allocations: 5.398 MB / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/1.412, allocations: 0 / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.56e-05/1.412, allocations: 4 kB / 1.125 GB, free: 38.67 MB / 0.7448 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.0004888/1.413, allocations: 466 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.413, allocations: 12.03 kB / 1.125 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/1.413, allocations: 17.53 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/1.413, allocations: 243.8 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.413, allocations: 4 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.413, allocations: 11.2 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.413, allocations: 89.77 kB / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.414, allocations: 0 / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.414, allocations: 0 / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/1.414, allocations: 12.98 kB / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/1.414, allocations: 30.73 kB / 1.126 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/1.414, allocations: 363.7 kB / 1.126 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/1.414, allocations: 77.92 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/1.414, allocations: 36.11 kB / 1.126 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/1.414, allocations: 8.016 kB / 1.126 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/1.414, allocations: 77.47 kB / 1.126 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/1.415, allocations: 4.562 kB / 1.126 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002543/1.415, allocations: 113.2 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.415, allocations: 85.05 kB / 1.126 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.415, allocations: 233.7 kB / 1.126 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.415, allocations: 29.7 kB / 1.127 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/1.415, allocations: 121.8 kB / 1.127 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/1.415, allocations: 19.73 kB / 1.127 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.415, allocations: 0 / 1.127 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/1.415, allocations: 333.4 kB / 1.127 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/1.415, allocations: 27.5 kB / 1.127 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/1.415, allocations: 54.95 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/1.415, allocations: 43.33 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.415, allocations: 1.312 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001364/1.416, allocations: 107.9 kB / 1.127 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.416, allocations: 8 kB / 1.127 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.416, allocations: 0.6875 kB / 1.127 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.416, allocations: 4.062 kB / 1.127 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/1.416, allocations: 11.94 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.416, allocations: 5.25 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/1.416, allocations: 15.22 kB / 1.127 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/1.416, allocations: 1.234 kB / 1.127 GB, free: 36.28 MB / 0.7448 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 7.601e-05/1.416, allocations: 128.1 kB / 1.127 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/1.416, allocations: 15.81 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/1.416, allocations: 128.1 kB / 1.127 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.416, allocations: 4 kB / 1.127 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/1.416, allocations: 0 / 1.127 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.416, allocations: 0 / 1.127 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.416, allocations: 242 kB / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.416, allocations: 0 / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/1.416, allocations: 4 kB / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.416, allocations: 0 / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.416, allocations: 4 kB / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.416, allocations: 0 / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.416, allocations: 0 / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/1.417, allocations: 158.8 kB / 1.128 GB, free: 35.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.417, allocations: 100 kB / 1.128 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/1.417, allocations: 8.469 kB / 1.128 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/1.417, allocations: 8.531 kB / 1.128 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/1.417, allocations: 3.375 kB / 1.128 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/1.417, allocations: 4 kB / 1.128 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001491/1.417, allocations: 192.5 kB / 1.128 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.417, allocations: 0 / 1.128 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002391/1.417, allocations: 43.08 kB / 1.128 GB, free: 35.37 MB / 0.7448 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.0009183/1.418, allocations: 391.8 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.418, allocations: 78.45 kB / 1.129 GB, free: 35.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.418, allocations: 0 / 1.129 GB, free: 35.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/1.418, allocations: 42.92 kB / 1.129 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/1.419, allocations: 41.25 kB / 1.129 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/1.419, allocations: 221.6 kB / 1.129 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/1.419, allocations: 0.732 MB / 1.13 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.522e-05/1.419, allocations: 19.95 kB / 1.13 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/1.419, allocations: 26.86 kB / 1.13 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.419, allocations: 0 / 1.13 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.004818/1.424, allocations: 2.263 MB / 1.132 GB, free: 32.8 MB / 0.7448 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)