Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.489/2.489, allocations: 287.5 MB / 303.2 MB, free: 8.156 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.001258/0.001258, allocations: 176.9 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0009348/0.0009345, allocations: 95.77 kB / 0.7438 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004933, allocations: 11.28 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8875/1.097, allocations: 141.9 MB / 1.118 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/1.097, allocations: 83.89 kB / 1.118 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/1.119, allocations: 5.459 MB / 1.123 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/1.119, allocations: 0 / 1.123 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.539e-05/1.119, allocations: 0 / 1.123 GB, free: 31.2 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.0007953/1.12, allocations: 487.9 kB / 1.124 GB, free: 30.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.12, allocations: 11.56 kB / 1.124 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/1.12, allocations: 28.31 kB / 1.124 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/1.121, allocations: 254.4 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.121, allocations: 384 / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.121, allocations: 4.25 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/1.121, allocations: 95.12 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.121, allocations: 4.031 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.121, allocations: 3.938 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.121, allocations: 3.844 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/1.121, allocations: 41.31 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/1.122, allocations: 362.5 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.122, allocations: 75.64 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/1.122, allocations: 43.62 kB / 1.125 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/1.122, allocations: 3.844 kB / 1.125 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/1.123, allocations: 87.11 kB / 1.125 GB, free: 30.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/1.123, allocations: 0 / 1.125 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000454/1.123, allocations: 147.3 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/1.123, allocations: 80.39 kB / 1.125 GB, free: 29.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/1.124, allocations: 266.4 kB / 1.125 GB, free: 29.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/1.124, allocations: 28.89 kB / 1.125 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/1.124, allocations: 113.9 kB / 1.125 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/1.124, allocations: 21.88 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/1.124, allocations: 0 / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.124, allocations: 335.3 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/1.124, allocations: 28.45 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.124, allocations: 63.38 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.124, allocations: 74.89 kB / 1.126 GB, free: 29.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.124, allocations: 0 / 1.126 GB, free: 29.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002944/1.125, allocations: 124.3 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.125, allocations: 7.688 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.125, allocations: 3.938 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.125, allocations: 0 / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.125, allocations: 14.77 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.125, allocations: 4.062 kB / 1.126 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/1.125, allocations: 11.72 kB / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.125, allocations: 3.844 kB / 1.126 GB, free: 29.27 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.0001671/1.125, allocations: 150.1 kB / 1.126 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/1.125, allocations: 18.75 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/1.126, allocations: 119.9 kB / 1.126 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.126, allocations: 13.88 kB / 1.126 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.126, allocations: 0 / 1.126 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.126, allocations: 0 / 1.126 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/1.126, allocations: 239.7 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.126, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/1.126, allocations: 7.625 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.126, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.126, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.126, allocations: 0 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.126, allocations: 240 / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/1.126, allocations: 159.5 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/1.126, allocations: 103 kB / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/1.127, allocations: 7.75 kB / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/1.127, allocations: 6.609 kB / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.127, allocations: 6.562 kB / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.127, allocations: 0 / 1.127 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002657/1.127, allocations: 197.8 kB / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.127, allocations: 0 / 1.127 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003541/1.127, allocations: 44.97 kB / 1.127 GB, free: 28.63 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.001216/1.129, allocations: 430.6 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003002/1.129, allocations: 84.42 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.129, allocations: 0 / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/1.129, allocations: 40.44 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/1.13, allocations: 45.44 kB / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/1.13, allocations: 339.7 kB / 1.128 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.131, allocations: 0.7258 MB / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001262/1.131, allocations: 25.45 kB / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/1.131, allocations: 19 kB / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.131, allocations: 0 / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of Templates: time 0.008023/1.139, allocations: 2.278 MB / 1.131 GB, free: 27.29 MB / 0.698 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)