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.01005/0.01005, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001933/0.001933, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.691/1.691, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4212/0.4212, allocations: 54.94 MB / 324.8 MB, free: 0 / 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.001329/0.001329, allocations: 68.83 kB / 456.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 59.59 MB / 0.5038 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.005268/0.1675, allocations: 1.736 MB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.1703, allocations: 1.02 MB / 0.5065 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1705, allocations: 5.312 kB / 0.5065 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.171, allocations: 54.98 kB / 0.5065 GB, free: 7.668 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.0004319/0.1715, allocations: 85.59 kB / 0.5066 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/0.1725, allocations: 199.5 kB / 0.5068 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.1727, allocations: 149.3 kB / 0.5069 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1729, allocations: 16.12 kB / 0.507 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.173, allocations: 68.44 kB / 0.507 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1732, allocations: 71.25 kB / 0.5071 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.1732, allocations: 6.875 kB / 0.5071 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.1735, allocations: 69.14 kB / 0.5072 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1736, allocations: 38.3 kB / 0.5072 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1737, allocations: 60.05 kB / 0.5073 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1742, allocations: 199.6 kB / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1742, allocations: 0 / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1742, allocations: 0 / 0.5074 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1742, allocations: 0 / 0.5074 GB, free: 7.07 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.000725/0.1749, allocations: 491.8 kB / 0.5079 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.175, allocations: 9.406 kB / 0.5079 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.1751, allocations: 15.94 kB / 0.5079 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1755, allocations: 263.7 kB / 0.5082 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.1755, allocations: 5.656 kB / 0.5082 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1756, allocations: 4.938 kB / 0.5082 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1758, allocations: 94.72 kB / 0.5083 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1759, allocations: 0 / 0.5083 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1759, allocations: 13.36 kB / 0.5083 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1759, allocations: 1.438 kB / 0.5083 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1761, allocations: 29.8 kB / 0.5083 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.1767, allocations: 361.1 kB / 0.5087 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.177, allocations: 87.78 kB / 0.5088 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.1771, allocations: 32.84 kB / 0.5088 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1771, allocations: 4 kB / 0.5088 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1773, allocations: 83.41 kB / 0.5089 GB, free: 5.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.1774, allocations: 0 / 0.5089 GB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004741/0.1778, allocations: 129.5 kB / 0.509 GB, free: 5.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1779, allocations: 114.8 kB / 0.5091 GB, free: 5.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1782, allocations: 259.2 kB / 0.5094 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1783, allocations: 29.7 kB / 0.5094 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.1783, allocations: 124 kB / 0.5095 GB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1784, allocations: 19.75 kB / 0.5095 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.1784, allocations: 29.7 kB / 0.5096 GB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.1785, allocations: 326.8 kB / 0.5099 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.1786, allocations: 27.92 kB / 0.5099 GB, free: 4.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1788, allocations: 72.27 kB / 0.51 GB, free: 4.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.179, allocations: 65.7 kB / 0.51 GB, free: 4.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.179, allocations: 0 / 0.51 GB, free: 4.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002827/0.1793, allocations: 113.4 kB / 0.5101 GB, free: 4.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1793, allocations: 8 kB / 0.5101 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1793, allocations: 3.984 kB / 0.5101 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1794, allocations: 8.031 kB / 0.5101 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1795, allocations: 19.88 kB / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1795, allocations: 0 / 0.5102 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.1796, allocations: 11.97 kB / 0.5102 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1796, allocations: 3.938 kB / 0.5102 GB, free: 4.188 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.0001294/0.1798, allocations: 141.8 kB / 0.5103 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.1798, allocations: 15.81 kB / 0.5103 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.1799, allocations: 13.8 kB / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.1799, allocations: 11.92 kB / 0.5104 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1799, allocations: 4 kB / 0.5104 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1799, allocations: 0 / 0.5104 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.1801, allocations: 225.4 kB / 0.5106 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1801, allocations: 4 kB / 0.5106 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.1802, allocations: 4 kB / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1802, allocations: 0 / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1802, allocations: 0 / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1802, allocations: 7.922 kB / 0.5106 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1802, allocations: 4 kB / 0.5106 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1805, allocations: 148.8 kB / 0.5107 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1806, allocations: 93 kB / 0.5108 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1806, allocations: 0 / 0.5108 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1807, allocations: 7.938 kB / 0.5108 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.1808, allocations: 11.98 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1808, allocations: 0 / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.181, allocations: 200.4 kB / 0.511 GB, free: 3.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.181, allocations: 192 / 0.511 GB, free: 3.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1814, allocations: 39.91 kB / 0.5111 GB, free: 3.176 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.001282/0.1827, allocations: 427.7 kB / 0.5115 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1829, allocations: 67.91 kB / 0.5115 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.183, allocations: 4 kB / 0.5116 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.1831, allocations: 31.98 kB / 0.5116 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1835, allocations: 46.98 kB / 0.5116 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.1841, allocations: 302.8 kB / 0.5119 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.1842, allocations: 0.7201 MB / 0.5126 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.1843, allocations: 29.31 kB / 0.5126 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1844, allocations: 19.42 kB / 0.5127 GB, free: 1.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1844, allocations: 4 kB / 0.5127 GB, free: 1.648 MB / 382.1 MB Notification: Performance of Templates: time 0.006122/0.1905, allocations: 2.537 MB / 0.5151 GB, free: 15.12 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)