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.007916/0.007917, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001245/0.001245, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4156/0.4156, allocations: 54.95 MB / 324.8 MB, free: 92 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.001521/0.001521, allocations: 66.59 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1239, allocations: 59.59 MB / 0.5038 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.002722/0.1266, allocations: 1.743 MB / 0.5055 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1281, allocations: 1.024 MB / 0.5065 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1282, allocations: 1.219 kB / 0.5065 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1286, allocations: 54.62 kB / 0.5065 GB, free: 7.746 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1289, allocations: 85.77 kB / 0.5066 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1294, allocations: 194.8 kB / 0.5068 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1296, allocations: 150 kB / 0.507 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1297, allocations: 19.58 kB / 0.507 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.1298, allocations: 63.78 kB / 0.507 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.1299, allocations: 63.12 kB / 0.5071 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1299, allocations: 6.875 kB / 0.5071 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1301, allocations: 73.16 kB / 0.5072 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.1302, allocations: 46.95 kB / 0.5072 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1302, allocations: 52.05 kB / 0.5073 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1305, allocations: 203.4 kB / 0.5075 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1305, allocations: 0 / 0.5075 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1305, allocations: 0 / 0.5075 GB, free: 7.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1305, allocations: 3.938 kB / 0.5075 GB, free: 7.145 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.000591/0.1311, allocations: 488 kB / 0.5079 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1312, allocations: 8.75 kB / 0.5079 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.1312, allocations: 20.56 kB / 0.508 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1315, allocations: 259.6 kB / 0.5082 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1315, allocations: 2.625 kB / 0.5082 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1316, allocations: 11.17 kB / 0.5082 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1318, allocations: 93.14 kB / 0.5083 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1318, allocations: 3.984 kB / 0.5083 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1318, allocations: 0 / 0.5083 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1318, allocations: 4 kB / 0.5083 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1319, allocations: 31.98 kB / 0.5083 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1323, allocations: 364.6 kB / 0.5087 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1326, allocations: 86.66 kB / 0.5088 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.1326, allocations: 28.84 kB / 0.5088 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1327, allocations: 4 kB / 0.5088 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1328, allocations: 87.41 kB / 0.5089 GB, free: 5.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.053e-06/0.1328, allocations: 0 / 0.5089 GB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003387/0.1332, allocations: 133.5 kB / 0.509 GB, free: 5.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1333, allocations: 110.8 kB / 0.5091 GB, free: 5.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1334, allocations: 255.2 kB / 0.5094 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1335, allocations: 25.7 kB / 0.5094 GB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.1335, allocations: 132 kB / 0.5095 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1336, allocations: 23.73 kB / 0.5095 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1336, allocations: 33.59 kB / 0.5096 GB, free: 4.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.1337, allocations: 330.8 kB / 0.5099 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.1337, allocations: 23.98 kB / 0.5099 GB, free: 4.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.1338, allocations: 68.28 kB / 0.51 GB, free: 4.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1339, allocations: 73.69 kB / 0.51 GB, free: 4.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.134, allocations: 0 / 0.51 GB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1341, allocations: 113.4 kB / 0.5102 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1342, allocations: 8 kB / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1342, allocations: 0 / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1342, allocations: 0 / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.1343, allocations: 19.92 kB / 0.5102 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1343, allocations: 4.328 kB / 0.5102 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.1344, allocations: 8.031 kB / 0.5102 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1344, allocations: 4 kB / 0.5102 GB, free: 4.168 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 9.175e-05/0.1345, allocations: 137.8 kB / 0.5103 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1345, allocations: 15.81 kB / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.1346, allocations: 21.39 kB / 0.5104 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1346, allocations: 3.938 kB / 0.5104 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1346, allocations: 0 / 0.5104 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1346, allocations: 0 / 0.5104 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.1347, allocations: 229.4 kB / 0.5106 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1347, allocations: 8 kB / 0.5106 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.1348, allocations: 7.984 kB / 0.5106 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1348, allocations: 0 / 0.5106 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1348, allocations: 0 / 0.5106 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1348, allocations: 11.92 kB / 0.5106 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1348, allocations: 0 / 0.5106 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.135, allocations: 140.8 kB / 0.5107 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.1351, allocations: 93.02 kB / 0.5108 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1351, allocations: 4 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.1352, allocations: 11.92 kB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.1352, allocations: 8 kB / 0.5109 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1352, allocations: 3.984 kB / 0.5109 GB, free: 3.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1354, allocations: 196.4 kB / 0.511 GB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1354, allocations: 3.938 kB / 0.5111 GB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1356, allocations: 39.91 kB / 0.5111 GB, free: 3.152 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.0009373/0.1366, allocations: 426.3 kB / 0.5115 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1368, allocations: 75.89 kB / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1368, allocations: 0 / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1369, allocations: 31.98 kB / 0.5116 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1372, allocations: 43.78 kB / 0.5116 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1377, allocations: 302.8 kB / 0.5119 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.1379, allocations: 0.724 MB / 0.5126 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.1379, allocations: 25.38 kB / 0.5127 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.138, allocations: 23.42 kB / 0.5127 GB, free: 1.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.138, allocations: 0 / 0.5127 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Templates: time 0.005558/0.1436, allocations: 2.537 MB / 0.5152 GB, free: 15.1 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile (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)