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.0009483/0.0009483, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.000939/0.0009392, allocations: 177.3 kB / 15.94 MB, free: 228 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4442/0.4442, allocations: 54.98 MB / 325.3 MB, free: 0.7695 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.0005234/0.0005234, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 60.72 MB / 457.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.001905/0.3444, allocations: 1.417 MB / 458.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3457, allocations: 0.909 MB / 459.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.3458, allocations: 3.938 kB / 459.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3461, allocations: 49.28 kB / 459.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.3463, allocations: 65.23 kB / 459.7 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.3468, allocations: 172.5 kB / 459.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.347, allocations: 88.94 kB / 460 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3471, allocations: 21.14 kB / 460 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.3472, allocations: 47.5 kB / 460.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.3473, allocations: 54.08 kB / 460.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3473, allocations: 2.656 kB / 460.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3474, allocations: 43.81 kB / 460.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.3475, allocations: 36.34 kB / 460.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.3476, allocations: 48.7 kB / 460.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3478, allocations: 150.4 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3478, allocations: 0.8438 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3478, allocations: 0 / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3478, allocations: 0.5312 kB / 460.4 MB, free: 38.04 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.0005549/0.3484, allocations: 470.9 kB / 460.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3484, allocations: 6.969 kB / 460.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.3485, allocations: 16.62 kB / 460.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3487, allocations: 255.9 kB / 461.1 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3488, allocations: 3.688 kB / 461.1 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3488, allocations: 9.062 kB / 461.1 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.349, allocations: 95.67 kB / 461.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.349, allocations: 0.625 kB / 461.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.349, allocations: 2.562 kB / 461.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.349, allocations: 3.812 kB / 461.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.3491, allocations: 34.5 kB / 461.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3496, allocations: 357.7 kB / 461.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3498, allocations: 89.92 kB / 461.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3498, allocations: 4.906 kB / 461.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.3501, allocations: 80.8 kB / 461.8 MB, free: 36.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.3501, allocations: 0 / 461.8 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003546/0.3504, allocations: 214.9 kB / 462 MB, free: 36.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3505, allocations: 108.9 kB / 462.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3507, allocations: 256.1 kB / 462.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3508, allocations: 27.64 kB / 462.4 MB, free: 36.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3508, allocations: 123.7 kB / 462.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3509, allocations: 19.59 kB / 462.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.3509, allocations: 1.312 kB / 462.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.351, allocations: 328.5 kB / 462.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.351, allocations: 27.19 kB / 462.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.3511, allocations: 73.52 kB / 463 MB, free: 36.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.3512, allocations: 34.08 kB / 463 MB, free: 36.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3512, allocations: 3.953 kB / 463 MB, free: 36.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.3514, allocations: 111.7 kB / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3514, allocations: 6.125 kB / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3515, allocations: 6.484 kB / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3515, allocations: 0 / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.3516, allocations: 12.25 kB / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3516, allocations: 0 / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.3517, allocations: 11.59 kB / 463.1 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3517, allocations: 7.875 kB / 463.1 MB, free: 36.07 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.0001174/0.3518, allocations: 143 kB / 463.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3518, allocations: 20.67 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3519, allocations: 21.44 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3519, allocations: 2.844 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3519, allocations: 6.094 kB / 463.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3519, allocations: 0 / 463.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3521, allocations: 227.8 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3521, allocations: 0 / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.3521, allocations: 9.547 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3521, allocations: 1.062 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3522, allocations: 1.688 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3522, allocations: 1 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3522, allocations: 2.844 kB / 463.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3524, allocations: 141 kB / 463.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3525, allocations: 95.73 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3525, allocations: 9.609 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.3526, allocations: 3.719 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3526, allocations: 10.77 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3526, allocations: 4.344 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3528, allocations: 207.7 kB / 464 MB, free: 35.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 0 / 464 MB, free: 35.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3531, allocations: 32.94 kB / 464.1 MB, free: 35.48 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.0009228/0.354, allocations: 432.4 kB / 464.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3542, allocations: 69.05 kB / 464.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3542, allocations: 0 / 464.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.3543, allocations: 35.39 kB / 464.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3546, allocations: 36.84 kB / 464.6 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.3551, allocations: 310.5 kB / 464.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3553, allocations: 0.73 MB / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.3553, allocations: 23.22 kB / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3554, allocations: 23.12 kB / 465.7 MB, free: 34.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3554, allocations: 0 / 465.7 MB, free: 34.47 MB / 382.1 MB Notification: Performance of Templates: time 0.005461/0.3609, allocations: 2.347 MB / 468 MB, free: 34.31 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: