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.663/1.663, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.001369/0.001369, allocations: 183 kB / 373 MB, free: 10.16 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.468/1.468, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0007816/0.0007816, allocations: 84.19 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 12.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5967/0.8068, allocations: 142 MB / 1.119 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.807, allocations: 81.3 kB / 1.12 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.8198, allocations: 5.444 MB / 1.125 GB, free: 31.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8198, allocations: 0 / 1.125 GB, free: 31.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.8199, allocations: 3.875 kB / 1.125 GB, free: 31.85 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.0005235/0.8204, allocations: 0.4895 MB / 1.125 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8204, allocations: 11.59 kB / 1.125 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.8205, allocations: 24.31 kB / 1.125 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.8208, allocations: 254.2 kB / 1.126 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8208, allocations: 384 / 1.126 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.8209, allocations: 4.219 kB / 1.126 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.821, allocations: 94.69 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.821, allocations: 192 / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.8211, allocations: 7.781 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.8211, allocations: 3.875 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.8212, allocations: 37.08 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.8216, allocations: 358.8 kB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.8218, allocations: 84.45 kB / 1.126 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.8219, allocations: 35.14 kB / 1.126 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.8219, allocations: 0 / 1.126 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.822, allocations: 82 kB / 1.126 GB, free: 30.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.006e-06/0.8221, allocations: 0 / 1.126 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002882/0.8224, allocations: 156.5 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.8224, allocations: 77.11 kB / 1.126 GB, free: 30.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.8226, allocations: 263.2 kB / 1.127 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.8227, allocations: 25.7 kB / 1.127 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.8227, allocations: 117.7 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.8228, allocations: 25.78 kB / 1.127 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.8228, allocations: 0 / 1.127 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8229, allocations: 334.9 kB / 1.127 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.823, allocations: 32.38 kB / 1.127 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.8231, allocations: 56.33 kB / 1.127 GB, free: 30.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.8232, allocations: 81.17 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8232, allocations: 0 / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001695/0.8234, allocations: 121.3 kB / 1.127 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8234, allocations: 7.688 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8234, allocations: 4.062 kB / 1.128 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8234, allocations: 0 / 1.128 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.8235, allocations: 11.69 kB / 1.128 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8235, allocations: 0 / 1.128 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.8236, allocations: 22.31 kB / 1.128 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.8236, allocations: 3.844 kB / 1.128 GB, free: 29.93 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.0001204/0.8237, allocations: 145.4 kB / 1.128 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.8237, allocations: 19.48 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.824, allocations: 136.4 kB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.824, allocations: 5.906 kB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.824, allocations: 0 / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.824, allocations: 0 / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.8242, allocations: 229.8 kB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8242, allocations: 3.781 kB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.8242, allocations: 3.875 kB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8242, allocations: 0 / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8243, allocations: 7.641 kB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8243, allocations: 6.281 kB / 1.128 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8243, allocations: 7.859 kB / 1.128 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.8245, allocations: 150.5 kB / 1.128 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.8246, allocations: 102.9 kB / 1.128 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.8246, allocations: 0 / 1.128 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.8246, allocations: 10 kB / 1.128 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.8247, allocations: 6.5 kB / 1.128 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8247, allocations: 4 kB / 1.128 GB, free: 29.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000157/0.8249, allocations: 198.8 kB / 1.129 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8249, allocations: 3.938 kB / 1.129 GB, free: 29.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002438/0.8251, allocations: 45.14 kB / 1.129 GB, free: 29.27 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.000854/0.826, allocations: 423.4 kB / 1.129 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.8262, allocations: 78.62 kB / 1.129 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8262, allocations: 4.062 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.8263, allocations: 47.08 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.8266, allocations: 40.61 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.8271, allocations: 339.5 kB / 1.129 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.8274, allocations: 0.7274 MB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.8274, allocations: 25.58 kB / 1.13 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.8275, allocations: 17.12 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8275, allocations: 0 / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of Templates: time 0.004448/0.8319, allocations: 2.3 MB / 1.132 GB, free: 27.62 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)