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.0008578/0.0008575, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.00645/0.00645, allocations: 170.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4447/0.4447, allocations: 55.01 MB / 325.7 MB, free: 0.582 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.0005805/0.0005807, allocations: 16 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4635, allocations: 60.72 MB / 458 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.002422/0.466, allocations: 1.462 MB / 459.4 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.4678, allocations: 0.9044 MB / 460.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.4679, allocations: 0 / 460.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.4687, allocations: 156.1 kB / 460.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.4689, allocations: 103.7 kB / 460.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.4693, allocations: 134.2 kB / 460.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.4696, allocations: 163.9 kB / 460.9 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4697, allocations: 22.8 kB / 460.9 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.4699, allocations: 62.34 kB / 461 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.47, allocations: 62.12 kB / 461 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.47, allocations: 3.938 kB / 461 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.4702, allocations: 53.12 kB / 461.1 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.4703, allocations: 35.8 kB / 461.1 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.4703, allocations: 83.73 kB / 461.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.4706, allocations: 187.7 kB / 461.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4706, allocations: 0.5 kB / 461.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4706, allocations: 0.875 kB / 461.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4706, allocations: 0 / 461.4 MB, free: 38.29 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.0006486/0.4713, allocations: 479.8 kB / 461.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4713, allocations: 10.09 kB / 461.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.4714, allocations: 17.16 kB / 461.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4717, allocations: 243.1 kB / 462.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4717, allocations: 6.781 kB / 462.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.4717, allocations: 10.03 kB / 462.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4719, allocations: 91.86 kB / 462.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4719, allocations: 0.8125 kB / 462.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4719, allocations: 0 / 462.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.472, allocations: 3.562 kB / 462.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.4721, allocations: 36.41 kB / 462.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.4725, allocations: 363.3 kB / 462.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.4727, allocations: 75.86 kB / 462.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.4728, allocations: 33.92 kB / 462.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4728, allocations: 3.406 kB / 462.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.473, allocations: 86.2 kB / 462.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.473, allocations: 1.766 kB / 462.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003451/0.4734, allocations: 143.2 kB / 463 MB, free: 37.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4734, allocations: 88.3 kB / 463 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4737, allocations: 256.8 kB / 463.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4737, allocations: 29.61 kB / 463.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.4738, allocations: 120.3 kB / 463.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.4738, allocations: 25.66 kB / 463.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.4739, allocations: 19.05 kB / 463.5 MB, free: 36.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.474, allocations: 334.6 kB / 463.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.474, allocations: 28.61 kB / 463.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.4741, allocations: 57.47 kB / 463.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.4742, allocations: 74.86 kB / 464 MB, free: 36.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4742, allocations: 0 / 464 MB, free: 36.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001926/0.4744, allocations: 117.9 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4745, allocations: 5.906 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4745, allocations: 1 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4745, allocations: 0 / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.4746, allocations: 15.33 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4746, allocations: 5.469 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.4747, allocations: 6.781 kB / 464.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4747, allocations: 3.625 kB / 464.1 MB, free: 36.4 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 ($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.0001227/0.4748, allocations: 145.3 kB / 464.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.4749, allocations: 16.31 kB / 464.3 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.4749, allocations: 21.19 kB / 464.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.475, allocations: 7 kB / 464.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.475, allocations: 6.094 kB / 464.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.475, allocations: 3.938 kB / 464.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.4752, allocations: 222.9 kB / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4752, allocations: 0 / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.4752, allocations: 7.516 kB / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4752, allocations: 3.562 kB / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4752, allocations: 2.312 kB / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4753, allocations: 0 / 464.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4753, allocations: 7.719 kB / 464.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.4755, allocations: 142.1 kB / 464.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4755, allocations: 99.91 kB / 464.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.4756, allocations: 1.188 kB / 464.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.4756, allocations: 11.84 kB / 464.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.4757, allocations: 10.53 kB / 464.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4757, allocations: 6.969 kB / 464.8 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.4759, allocations: 200.6 kB / 465 MB, free: 35.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4759, allocations: 0 / 465 MB, free: 35.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.4761, allocations: 34.39 kB / 465 MB, free: 35.8 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 (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.00105/0.4772, allocations: 432.4 kB / 465.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.4775, allocations: 70.89 kB / 465.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4775, allocations: 2.969 kB / 465.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.4776, allocations: 32.88 kB / 465.6 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4779, allocations: 37.33 kB / 465.6 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.4784, allocations: 335.8 kB / 465.9 MB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4786, allocations: 0.7249 MB / 466.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.4787, allocations: 23.02 kB / 466.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.4788, allocations: 23.2 kB / 466.7 MB, free: 34.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4788, allocations: 0 / 466.7 MB, free: 34.76 MB / 382.1 MB Notification: Performance of Templates: time 0.005192/0.484, allocations: 2.153 MB / 468.9 MB, free: 34.59 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: