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.0009156/0.0009156, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006708/0.006708, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.819/1.819, 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.4865/0.4865, allocations: 55.01 MB / 325.7 MB, free: 0.6367 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.0006028/0.0006028, allocations: 15.98 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.447, allocations: 60.72 MB / 458 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.002345/0.4494, allocations: 1.451 MB / 459.4 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.451, allocations: 0.9881 MB / 460.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.4511, allocations: 3.031 kB / 460.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4515, allocations: 59.41 kB / 460.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.4517, allocations: 63.64 kB / 460.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.4523, allocations: 180.1 kB / 460.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.4525, allocations: 130.7 kB / 460.8 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4526, allocations: 21.52 kB / 460.9 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.4527, allocations: 61.81 kB / 460.9 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4529, allocations: 60.11 kB / 461 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.4529, allocations: 3.531 kB / 461 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.453, allocations: 61.34 kB / 461 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.4531, allocations: 34.95 kB / 461.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.4532, allocations: 81.91 kB / 461.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4535, allocations: 186.8 kB / 461.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4535, allocations: 2.375 kB / 461.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4535, allocations: 0 / 461.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4535, allocations: 0 / 461.3 MB, free: 38.18 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.0006817/0.4542, allocations: 470.6 kB / 461.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4543, allocations: 8.844 kB / 461.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.4543, allocations: 18.31 kB / 461.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.4546, allocations: 253.7 kB / 462.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.4546, allocations: 7.719 kB / 462.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4547, allocations: 5.562 kB / 462.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4549, allocations: 97.72 kB / 462.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4549, allocations: 0 / 462.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4549, allocations: 3.938 kB / 462.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.4549, allocations: 3.281 kB / 462.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.4551, allocations: 34.92 kB / 462.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.4556, allocations: 359.6 kB / 462.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.4558, allocations: 89.62 kB / 462.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.4559, allocations: 27.45 kB / 462.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4559, allocations: 6.875 kB / 462.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.4561, allocations: 84.52 kB / 462.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.4562, allocations: 0 / 462.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003286/0.4565, allocations: 139.2 kB / 462.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4565, allocations: 109.4 kB / 463 MB, free: 36.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4568, allocations: 263.4 kB / 463.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4568, allocations: 25.7 kB / 463.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.4569, allocations: 114.4 kB / 463.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.4569, allocations: 22.78 kB / 463.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.4569, allocations: 22.11 kB / 463.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.457, allocations: 325.8 kB / 463.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.4571, allocations: 30.53 kB / 463.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.4572, allocations: 72.8 kB / 463.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4573, allocations: 68.34 kB / 463.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4573, allocations: 3.781 kB / 463.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.4575, allocations: 113 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4575, allocations: 2.969 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4576, allocations: 6.922 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4576, allocations: 1.594 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.4577, allocations: 13.39 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4577, allocations: 3.938 kB / 464.1 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.4577, allocations: 12.95 kB / 464.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4578, allocations: 3.375 kB / 464.1 MB, free: 36.25 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.000115/0.4579, allocations: 142.8 kB / 464.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.4579, allocations: 14.88 kB / 464.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.458, allocations: 18.52 kB / 464.3 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.458, allocations: 7.344 kB / 464.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.458, allocations: 5.75 kB / 464.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.458, allocations: 2.578 kB / 464.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.4582, allocations: 223 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4582, allocations: 3.344 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.4582, allocations: 8.594 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4583, allocations: 3.75 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4583, allocations: 0 / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4583, allocations: 0.6562 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4583, allocations: 3.938 kB / 464.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.4585, allocations: 147.5 kB / 464.7 MB, free: 35.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.4586, allocations: 96.02 kB / 464.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4586, allocations: 2.312 kB / 464.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.4587, allocations: 11.72 kB / 464.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.4587, allocations: 11.88 kB / 464.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4587, allocations: 2.969 kB / 464.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.4589, allocations: 201.9 kB / 465 MB, free: 35.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4589, allocations: 0 / 465 MB, free: 35.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4592, allocations: 42.59 kB / 465 MB, free: 35.65 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 (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.001074/0.4603, allocations: 424.7 kB / 465.4 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.4605, allocations: 75.92 kB / 465.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4606, allocations: 0.5625 kB / 465.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.4606, allocations: 33.19 kB / 465.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.461, allocations: 34.2 kB / 465.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.4615, allocations: 325.2 kB / 465.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.4617, allocations: 0.7202 MB / 466.6 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.4618, allocations: 32.39 kB / 466.7 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.4618, allocations: 19.56 kB / 466.7 MB, free: 34.63 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4618, allocations: 0 / 466.7 MB, free: 34.63 MB / 382.1 MB Notification: Performance of Templates: time 0.005508/0.4673, allocations: 2.423 MB / 469.1 MB, free: 34.44 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: