Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.000899, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009198/0.0009201, 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.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4332/0.4332, allocations: 55.01 MB / 325.4 MB, free: 0.668 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.0006037/0.0006038, allocations: 16 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4942, allocations: 60.72 MB / 457.4 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.002275/0.4965, allocations: 1.422 MB / 458.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.498, allocations: 0.9423 MB / 459.7 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.4981, allocations: 0 / 459.7 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.4985, allocations: 52.48 kB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.4988, allocations: 64.86 kB / 459.8 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.4993, allocations: 171.4 kB / 460 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.4995, allocations: 125.2 kB / 460.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4996, allocations: 21.28 kB / 460.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.4997, allocations: 48.69 kB / 460.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.4998, allocations: 59.06 kB / 460.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4999, allocations: 0 / 460.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.5, allocations: 56.62 kB / 460.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.5001, allocations: 37.58 kB / 460.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.5002, allocations: 47.17 kB / 460.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.5004, allocations: 146.9 kB / 460.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.5004, allocations: 2.25 kB / 460.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5004, allocations: 0 / 460.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5004, allocations: 2.5 kB / 460.5 MB, free: 38.21 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006908/0.5011, allocations: 466.4 kB / 461 MB, free: 37.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.5012, allocations: 15.5 kB / 461 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.5013, allocations: 16.25 kB / 461 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.5016, allocations: 253.5 kB / 461.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5016, allocations: 0 / 461.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.5016, allocations: 8.719 kB / 461.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.5018, allocations: 92.97 kB / 461.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5019, allocations: 0 / 461.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.5019, allocations: 6.516 kB / 461.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.5019, allocations: 4.094 kB / 461.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.502, allocations: 31.45 kB / 461.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.5025, allocations: 357.9 kB / 461.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.5027, allocations: 85.19 kB / 461.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.5028, allocations: 33.17 kB / 461.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5028, allocations: 5.156 kB / 461.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.503, allocations: 84.06 kB / 462 MB, free: 37.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.503, allocations: 0.5 kB / 462 MB, free: 37.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003411/0.5034, allocations: 138.1 kB / 462.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.5035, allocations: 106.5 kB / 462.2 MB, free: 36.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.5037, allocations: 259.2 kB / 462.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5037, allocations: 29.7 kB / 462.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.5038, allocations: 117.7 kB / 462.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5039, allocations: 22.59 kB / 462.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.5039, allocations: 0.625 kB / 462.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.504, allocations: 328.3 kB / 463 MB, free: 36.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.504, allocations: 25.52 kB / 463 MB, free: 36.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.5041, allocations: 73.72 kB / 463.1 MB, free: 36.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.5042, allocations: 33.48 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5042, allocations: 3.906 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.5045, allocations: 117.4 kB / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5045, allocations: 9.594 kB / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5045, allocations: 2.312 kB / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5045, allocations: 0 / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5046, allocations: 16.27 kB / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5046, allocations: 1 kB / 463.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.5047, allocations: 12.06 kB / 463.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.5047, allocations: 0.625 kB / 463.2 MB, free: 36.33 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: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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.0001297/0.5049, allocations: 149.2 kB / 463.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.5049, allocations: 13.69 kB / 463.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.505, allocations: 22.58 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.505, allocations: 6.656 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.505, allocations: 0 / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.505, allocations: 6.812 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.5052, allocations: 220.8 kB / 463.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5052, allocations: 7.547 kB / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.5052, allocations: 6.406 kB / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5052, allocations: 4.375 kB / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5053, allocations: 0.875 kB / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5053, allocations: 1.5 kB / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5053, allocations: 0 / 463.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.5055, allocations: 141.2 kB / 463.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.5056, allocations: 100.8 kB / 463.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.5056, allocations: 5.359 kB / 463.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.5056, allocations: 6.312 kB / 463.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.5057, allocations: 8.703 kB / 463.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5057, allocations: 3 kB / 463.9 MB, free: 35.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.5059, allocations: 204.5 kB / 464.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5059, allocations: 1.062 kB / 464.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.5062, allocations: 35.06 kB / 464.2 MB, free: 35.74 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.00108/0.5072, allocations: 433.2 kB / 464.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.5075, allocations: 64.27 kB / 464.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5075, allocations: 2.969 kB / 464.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.5076, allocations: 40.75 kB / 464.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.5079, allocations: 30.05 kB / 464.7 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.5084, allocations: 316.3 kB / 465 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.5087, allocations: 0.7192 MB / 465.8 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.5087, allocations: 23.22 kB / 465.8 MB, free: 34.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.5088, allocations: 19.12 kB / 465.8 MB, free: 34.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5088, allocations: 0 / 465.8 MB, free: 34.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006883/0.5157, allocations: 2.365 MB / 468.2 MB, free: 34.56 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: