Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008312/0.0008315, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001028/0.001028, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4716/0.4716, allocations: 55.02 MB / 325.4 MB, free: 0.625 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006325/0.0006328, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4635, allocations: 60.72 MB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.002908/0.4665, allocations: 1.436 MB / 458.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.468, allocations: 0.8614 MB / 459.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.4681, allocations: 7 kB / 459.7 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.4689, allocations: 146.3 kB / 459.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.4692, allocations: 99.86 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.4696, allocations: 132.8 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.4699, allocations: 144.5 kB / 460.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.4701, allocations: 22.42 kB / 460.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.4702, allocations: 51.88 kB / 460.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.4704, allocations: 66.55 kB / 460.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.4704, allocations: 2.719 kB / 460.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.4706, allocations: 49.7 kB / 460.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.4707, allocations: 37.56 kB / 460.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.4708, allocations: 49.98 kB / 460.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.471, allocations: 147.2 kB / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4711, allocations: 0 / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4711, allocations: 0 / 460.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4711, allocations: 0.5625 kB / 460.6 MB, free: 38.06 MB / 382.1 MB 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.0007664/0.4719, allocations: 476.4 kB / 461.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4719, allocations: 11.69 kB / 461.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.472, allocations: 16.84 kB / 461.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4723, allocations: 239.7 kB / 461.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4723, allocations: 7.953 kB / 461.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.4724, allocations: 8.312 kB / 461.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4726, allocations: 85.53 kB / 461.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4726, allocations: 0 / 461.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4726, allocations: 6.766 kB / 461.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.4726, allocations: 2.375 kB / 461.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.4727, allocations: 34.31 kB / 461.5 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.4733, allocations: 360.3 kB / 461.8 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.4735, allocations: 76.72 kB / 461.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.4736, allocations: 35.38 kB / 461.9 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4736, allocations: 3.688 kB / 461.9 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.4738, allocations: 91.66 kB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.4738, allocations: 0.8438 kB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003528/0.4742, allocations: 148 kB / 462.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.4742, allocations: 77.11 kB / 462.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4745, allocations: 257.7 kB / 462.5 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.4745, allocations: 29.55 kB / 462.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4746, allocations: 113.8 kB / 462.6 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4747, allocations: 28.53 kB / 462.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4747, allocations: 1.625 kB / 462.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4748, allocations: 328.1 kB / 463 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.4749, allocations: 29.64 kB / 463 MB, free: 36.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.475, allocations: 60.56 kB / 463.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.4751, allocations: 33.66 kB / 463.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4751, allocations: 4.984 kB / 463.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002123/0.4753, allocations: 115.5 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4753, allocations: 4.719 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4753, allocations: 3 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4754, allocations: 0 / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.4754, allocations: 14.09 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4755, allocations: 1.312 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.4755, allocations: 10.62 kB / 463.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4755, allocations: 3.5 kB / 463.3 MB, free: 36.21 MB / 382.1 MB 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0001365/0.4757, allocations: 146.5 kB / 463.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.4757, allocations: 25.02 kB / 463.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.4758, allocations: 15.94 kB / 463.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.4758, allocations: 6.875 kB / 463.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.4758, allocations: 6.875 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4758, allocations: 1.812 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4761, allocations: 217 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4761, allocations: 0 / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.4761, allocations: 7.656 kB / 463.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4761, allocations: 3.484 kB / 463.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4761, allocations: 6.266 kB / 463.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4761, allocations: 1.016 kB / 463.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4761, allocations: 0 / 463.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4764, allocations: 140.7 kB / 463.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.4764, allocations: 100.6 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4765, allocations: 12.14 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4765, allocations: 8.828 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4766, allocations: 7.484 kB / 463.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4766, allocations: 4.438 kB / 464 MB, free: 35.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.4768, allocations: 195.8 kB / 464.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4768, allocations: 3.656 kB / 464.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.4771, allocations: 29.91 kB / 464.2 MB, free: 35.61 MB / 382.1 MB 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 (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.001056/0.4781, allocations: 428.9 kB / 464.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.4784, allocations: 72.77 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4784, allocations: 0 / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.4785, allocations: 35.64 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4788, allocations: 43.25 kB / 464.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006086/0.4795, allocations: 324.2 kB / 465.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4797, allocations: 0.7276 MB / 465.8 MB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.4798, allocations: 21.09 kB / 465.8 MB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4798, allocations: 16.47 kB / 465.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4798, allocations: 0 / 465.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of Templates: time 0.006076/0.4859, allocations: 2.121 MB / 467.9 MB, free: 34.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: