Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004928/0.004928, allocations: 100.8 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 198.4 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 290.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 99.83 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4439, allocations: 86.98 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.00303/0.447, allocations: 1.778 MB / 0.7681 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.4486, allocations: 1.024 MB / 0.7691 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.4487, allocations: 4 kB / 0.7691 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.4494, allocations: 161.5 kB / 0.7693 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.4497, allocations: 115.6 kB / 0.7694 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.4502, allocations: 166.7 kB / 0.7696 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.4504, allocations: 167.6 kB / 0.7697 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.4505, allocations: 28.86 kB / 0.7697 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.4507, allocations: 71.69 kB / 0.7698 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4508, allocations: 75.69 kB / 0.7699 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4508, allocations: 8 kB / 0.7699 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.451, allocations: 63.95 kB / 0.7699 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.4511, allocations: 35.91 kB / 0.77 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.4511, allocations: 63.55 kB / 0.77 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.4514, allocations: 201.6 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4514, allocations: 0 / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4515, allocations: 3.938 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4515, allocations: 0 / 0.7702 GB, free: 15.95 MB / 0.545 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.0006931/0.4522, allocations: 0.4885 MB / 0.7707 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4522, allocations: 8.031 kB / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.4523, allocations: 16.75 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.4526, allocations: 248.9 kB / 0.771 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4526, allocations: 4.375 kB / 0.771 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4526, allocations: 12.12 kB / 0.771 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4528, allocations: 87.31 kB / 0.7711 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4528, allocations: 0 / 0.7711 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.4529, allocations: 7.984 kB / 0.7711 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.4529, allocations: 8 kB / 0.7711 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.453, allocations: 31.92 kB / 0.7711 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.4535, allocations: 356.6 kB / 0.7715 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.4537, allocations: 74.61 kB / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.4538, allocations: 36.84 kB / 0.7716 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.4538, allocations: 3.984 kB / 0.7716 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.4539, allocations: 79.39 kB / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.454, allocations: 0 / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003379/0.4543, allocations: 149.4 kB / 0.7718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4544, allocations: 77.11 kB / 0.7719 GB, free: 14.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.4546, allocations: 263.6 kB / 0.7721 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4547, allocations: 33.7 kB / 0.7721 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.4547, allocations: 112.1 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4548, allocations: 27.64 kB / 0.7723 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.4548, allocations: 29.66 kB / 0.7723 GB, free: 13.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4549, allocations: 334.8 kB / 0.7726 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.455, allocations: 24.28 kB / 0.7727 GB, free: 13.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.4551, allocations: 67.34 kB / 0.7727 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4552, allocations: 69.69 kB / 0.7728 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4553, allocations: 0 / 0.7728 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002038/0.4555, allocations: 121.4 kB / 0.7729 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4555, allocations: 7.938 kB / 0.7729 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4555, allocations: 0 / 0.7729 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4555, allocations: 0 / 0.7729 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.4556, allocations: 20.05 kB / 0.7729 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4556, allocations: 0 / 0.7729 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.4557, allocations: 11.94 kB / 0.7729 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4557, allocations: 4 kB / 0.7729 GB, free: 12.92 MB / 0.545 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.4558, allocations: 140.3 kB / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.4559, allocations: 19.75 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.4559, allocations: 17.39 kB / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4559, allocations: 4 kB / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4559, allocations: 4 kB / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4559, allocations: 3.938 kB / 0.7731 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.4561, allocations: 221.5 kB / 0.7733 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4561, allocations: 0 / 0.7733 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.4562, allocations: 11.92 kB / 0.7733 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4562, allocations: 0 / 0.7733 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4562, allocations: 4 kB / 0.7733 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4562, allocations: 0 / 0.7733 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4562, allocations: 0 / 0.7733 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4565, allocations: 156.9 kB / 0.7735 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.4565, allocations: 92.86 kB / 0.7736 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.4566, allocations: 4 kB / 0.7736 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.4566, allocations: 7.938 kB / 0.7736 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.4567, allocations: 7.984 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4567, allocations: 3.938 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001771/0.4569, allocations: 196.6 kB / 0.7738 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4569, allocations: 0 / 0.7738 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002392/0.4571, allocations: 27.98 kB / 0.7738 GB, free: 11.92 MB / 0.545 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009176/0.458, allocations: 428.1 kB / 0.7742 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4582, allocations: 75.91 kB / 0.7743 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4583, allocations: 0 / 0.7743 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.4583, allocations: 40.12 kB / 0.7743 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4586, allocations: 36.3 kB / 0.7744 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.4592, allocations: 299.2 kB / 0.7747 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.4595, allocations: 0.724 MB / 0.7754 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.062e-05/0.4595, allocations: 17.42 kB / 0.7754 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.4596, allocations: 27.36 kB / 0.7754 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.4596, allocations: 4 kB / 0.7754 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Templates: time 0.005295/0.4649, allocations: 2.289 MB / 0.7776 GB, free: 8.137 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)