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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.597/1.597, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4331/0.4331, allocations: 54.93 MB / 324.3 MB, free: 180 kB / 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.001304/0.001304, allocations: 64.28 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1476, allocations: 59.59 MB / 454.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.2519/0.3995, allocations: 1.809 MB / 456.1 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4009, allocations: 0.9151 MB / 457 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.4009, allocations: 4.906 kB / 457 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.4015, allocations: 152.2 kB / 457.2 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.4017, allocations: 102.3 kB / 457.3 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.402, allocations: 127.7 kB / 457.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.4022, allocations: 166.6 kB / 457.6 MB, free: 39.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4023, allocations: 20.33 kB / 457.6 MB, free: 39.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.4024, allocations: 68.97 kB / 457.6 MB, free: 39.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4025, allocations: 62.27 kB / 457.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4026, allocations: 2.969 kB / 457.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4027, allocations: 60.98 kB / 457.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.4028, allocations: 37.5 kB / 457.8 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.4028, allocations: 56.28 kB / 457.9 MB, free: 39.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.4031, allocations: 192.9 kB / 458 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4031, allocations: 0.9375 kB / 458 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4031, allocations: 3.5 kB / 458 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4031, allocations: 0 / 458 MB, free: 39.08 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.0007313/0.4038, allocations: 494.2 kB / 458.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4039, allocations: 11.5 kB / 458.5 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.404, allocations: 19.69 kB / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.4043, allocations: 248.6 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4043, allocations: 11.19 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4043, allocations: 1.031 kB / 458.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4045, allocations: 87.48 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4045, allocations: 4.219 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4046, allocations: 5.109 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4046, allocations: 2.688 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.875e-05/0.4047, allocations: 41.22 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.4052, allocations: 358.4 kB / 459.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.4053, allocations: 81.58 kB / 459.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.4054, allocations: 32.39 kB / 459.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4054, allocations: 3.531 kB / 459.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.4056, allocations: 80.36 kB / 459.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4056, allocations: 0 / 459.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003315/0.4059, allocations: 147 kB / 459.6 MB, free: 37.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.406, allocations: 78.7 kB / 459.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4062, allocations: 259.5 kB / 460 MB, free: 37.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4062, allocations: 28.39 kB / 460 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.4063, allocations: 123.2 kB / 460.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4063, allocations: 22.09 kB / 460.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.4064, allocations: 29.06 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.4064, allocations: 330.6 kB / 460.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.4065, allocations: 25.39 kB / 460.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.4066, allocations: 60.97 kB / 460.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4067, allocations: 79.52 kB / 460.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4067, allocations: 0.8125 kB / 460.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001831/0.4069, allocations: 115.8 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4069, allocations: 5.469 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.407, allocations: 1.406 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.407, allocations: 0 / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.4071, allocations: 14.19 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4071, allocations: 3.938 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.4071, allocations: 7.625 kB / 460.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4071, allocations: 7.125 kB / 460.8 MB, free: 37.2 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 9.87e-05/0.4072, allocations: 145.8 kB / 460.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.4073, allocations: 19.97 kB / 461 MB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.4073, allocations: 22.05 kB / 461 MB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4073, allocations: 3.406 kB / 461 MB, free: 37.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4074, allocations: 5.031 kB / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4074, allocations: 0.9375 kB / 461 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.4075, allocations: 213.5 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4075, allocations: 0.9062 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.4075, allocations: 8.5 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4075, allocations: 3.141 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4076, allocations: 4.172 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4076, allocations: 0.625 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4076, allocations: 6.75 kB / 461.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.4078, allocations: 151.3 kB / 461.4 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4079, allocations: 92.98 kB / 461.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.4079, allocations: 3.906 kB / 461.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.4079, allocations: 8.391 kB / 461.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.408, allocations: 10.97 kB / 461.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.408, allocations: 3.5 kB / 461.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.4082, allocations: 198.2 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4082, allocations: 0 / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4084, allocations: 38.58 kB / 461.7 MB, free: 36.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 (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.001011/0.4094, allocations: 423.7 kB / 462.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4096, allocations: 73.59 kB / 462.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4097, allocations: 0 / 462.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.4097, allocations: 40.55 kB / 462.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.41, allocations: 35.36 kB / 462.3 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.4105, allocations: 328 kB / 462.6 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.4107, allocations: 0.7305 MB / 463.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.4108, allocations: 22.17 kB / 463.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4108, allocations: 16.88 kB / 463.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4108, allocations: 0 / 463.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004717/0.4156, allocations: 2.192 MB / 465.6 MB, free: 35.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile (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)