Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005009/0.005009, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.00111/0.00111, allocations: 188.8 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8465/0.8465, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.81 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2297, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004391/0.2342, allocations: 1.767 MB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2363, allocations: 1.107 MB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2364, allocations: 0 / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.2367, allocations: 59.69 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.2371, allocations: 87.64 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.2377, allocations: 223.1 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2381, allocations: 135.7 kB / 0.663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2382, allocations: 41.08 kB / 0.663 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2384, allocations: 63.7 kB / 0.6631 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2385, allocations: 63.75 kB / 0.6631 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2385, allocations: 8 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.2387, allocations: 63.95 kB / 0.6632 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.2388, allocations: 47.78 kB / 0.6633 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.2389, allocations: 59.66 kB / 0.6633 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.2393, allocations: 207.4 kB / 0.6635 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2393, allocations: 0 / 0.6635 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2393, allocations: 0 / 0.6635 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2393, allocations: 0 / 0.6635 GB, free: 9.574 MB / 0.4981 GB 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.0007604/0.2401, allocations: 496.2 kB / 0.664 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2402, allocations: 8.031 kB / 0.664 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.2402, allocations: 20.69 kB / 0.664 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2406, allocations: 245.6 kB / 0.6642 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2406, allocations: 4.375 kB / 0.6642 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2407, allocations: 12.11 kB / 0.6643 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2409, allocations: 96.17 kB / 0.6643 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2409, allocations: 0 / 0.6643 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2409, allocations: 0 / 0.6643 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.241, allocations: 4 kB / 0.6644 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2411, allocations: 27.98 kB / 0.6644 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2417, allocations: 364.5 kB / 0.6647 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2419, allocations: 90.66 kB / 0.6648 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.242, allocations: 28.84 kB / 0.6648 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.242, allocations: 4 kB / 0.6648 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2422, allocations: 83.45 kB / 0.6649 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.2422, allocations: 3.938 kB / 0.6649 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004172/0.2427, allocations: 137.5 kB / 0.6651 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.2427, allocations: 106.8 kB / 0.6652 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.243, allocations: 262.8 kB / 0.6654 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2431, allocations: 29.64 kB / 0.6654 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.2432, allocations: 116.1 kB / 0.6655 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.2432, allocations: 27.64 kB / 0.6656 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.2433, allocations: 33.7 kB / 0.6656 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2434, allocations: 334.8 kB / 0.6659 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.2435, allocations: 23.98 kB / 0.6659 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2436, allocations: 68.22 kB / 0.666 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.2438, allocations: 69.69 kB / 0.6661 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2438, allocations: 4 kB / 0.6661 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002415/0.2441, allocations: 109.4 kB / 0.6662 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2441, allocations: 8 kB / 0.6662 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2441, allocations: 0 / 0.6662 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2441, allocations: 0 / 0.6662 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2442, allocations: 15.98 kB / 0.6662 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2442, allocations: 0 / 0.6662 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.2443, allocations: 15.88 kB / 0.6662 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.2443, allocations: 4.031 kB / 0.6662 GB, free: 6.5 MB / 0.4981 GB 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.0001552/0.2445, allocations: 150.4 kB / 0.6664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.2445, allocations: 15.81 kB / 0.6664 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.2446, allocations: 21.39 kB / 0.6664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2446, allocations: 0 / 0.6664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2446, allocations: 0 / 0.6664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2446, allocations: 3.938 kB / 0.6664 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.2449, allocations: 229.6 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2449, allocations: 48 / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.2449, allocations: 15.97 kB / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2449, allocations: 0 / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.245, allocations: 0 / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.245, allocations: 4 kB / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.245, allocations: 0 / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2452, allocations: 137.2 kB / 0.6668 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.2453, allocations: 92.92 kB / 0.6669 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2453, allocations: 7.938 kB / 0.6669 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.2454, allocations: 11.98 kB / 0.6669 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2455, allocations: 4 kB / 0.6669 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2455, allocations: 11.92 kB / 0.6669 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001974/0.2457, allocations: 192.8 kB / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.833e-06/0.2457, allocations: 0 / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002696/0.246, allocations: 47.8 kB / 0.6671 GB, free: 5.477 MB / 0.4981 GB 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.001002/0.247, allocations: 424.5 kB / 0.6675 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2472, allocations: 79.88 kB / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2473, allocations: 0 / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.2474, allocations: 31.98 kB / 0.6676 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2477, allocations: 45.53 kB / 0.6677 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.2482, allocations: 282.8 kB / 0.668 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2486, allocations: 0.7241 MB / 0.6687 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.148e-05/0.2486, allocations: 21.38 kB / 0.6687 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2487, allocations: 27.42 kB / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.2487, allocations: 0 / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of Templates: time 0.006269/0.255, allocations: 2.537 MB / 0.6712 GB, free: 1.496 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)