Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 213.8 kB / 22.24 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.369/1.369, allocations: 203.8 MB / 0.5041 GB, free: 4.621 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 0.7187 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6562, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003674/0.6598, allocations: 1.774 MB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.6621, allocations: 1.202 MB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.6622, allocations: 0.7188 kB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.6625, allocations: 58.16 kB / 0.8212 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.6629, allocations: 120.2 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.6636, allocations: 203.5 kB / 0.8215 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.6639, allocations: 155.6 kB / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.664, allocations: 18.67 kB / 0.8217 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.6641, allocations: 67.38 kB / 0.8218 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.6643, allocations: 70.38 kB / 0.8218 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.6643, allocations: 8.812 kB / 0.8218 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.6645, allocations: 84.69 kB / 0.8219 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.6646, allocations: 43.41 kB / 0.822 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.6647, allocations: 42.5 kB / 0.822 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.6651, allocations: 212.6 kB / 0.8222 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6651, allocations: 0 / 0.8222 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6651, allocations: 1.312 kB / 0.8222 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6651, allocations: 0 / 0.8222 GB, free: 26.49 MB / 0.6387 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.0006944/0.6658, allocations: 429.5 kB / 0.8226 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6658, allocations: 10.53 kB / 0.8226 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.6659, allocations: 21.81 kB / 0.8226 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.6662, allocations: 201.8 kB / 0.8228 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6662, allocations: 3.844 kB / 0.8228 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.6662, allocations: 8.938 kB / 0.8229 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.6665, allocations: 119.1 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6665, allocations: 0 / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6665, allocations: 0.5156 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.6665, allocations: 7.625 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.6666, allocations: 38.8 kB / 0.823 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.6671, allocations: 299.8 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6674, allocations: 89.5 kB / 0.8234 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.6674, allocations: 32.06 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.6675, allocations: 4.703 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.6676, allocations: 86.45 kB / 0.8235 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.6676, allocations: 0 / 0.8235 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0004037/0.668, allocations: 156.7 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.6681, allocations: 80.78 kB / 0.8237 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.6684, allocations: 268.1 kB / 0.824 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.6684, allocations: 27.28 kB / 0.824 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.6684, allocations: 117.1 kB / 0.8241 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6685, allocations: 21.05 kB / 0.8241 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.6685, allocations: 25.33 kB / 0.8242 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.6686, allocations: 334.3 kB / 0.8245 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.6687, allocations: 26.88 kB / 0.8245 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.6688, allocations: 121.7 kB / 0.8246 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.6689, allocations: 69.56 kB / 0.8247 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.669, allocations: 1.656 kB / 0.8247 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.6692, allocations: 118.2 kB / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6692, allocations: 6.312 kB / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6692, allocations: 0 / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6692, allocations: 4.844 kB / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.6693, allocations: 17.19 kB / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6693, allocations: 5 kB / 0.8248 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.6694, allocations: 11.7 kB / 0.8248 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.6694, allocations: 3.469 kB / 0.8249 GB, free: 24.37 MB / 0.6387 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.0001056/0.6695, allocations: 149.9 kB / 0.825 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.6695, allocations: 16.19 kB / 0.825 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.6698, allocations: 126.5 kB / 0.8251 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6698, allocations: 6.578 kB / 0.8251 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6698, allocations: 7.875 kB / 0.8251 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6698, allocations: 1.828 kB / 0.8251 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.67, allocations: 161.6 kB / 0.8253 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.67, allocations: 1.062 kB / 0.8253 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.67, allocations: 7.359 kB / 0.8253 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.67, allocations: 1.281 kB / 0.8253 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.67, allocations: 5.734 kB / 0.8253 GB, free: 24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.67, allocations: 5.875 kB / 0.8253 GB, free: 24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6701, allocations: 4 kB / 0.8253 GB, free: 24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.6703, allocations: 156.6 kB / 0.8255 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.6703, allocations: 20.05 kB / 0.8255 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.6704, allocations: 2.078 kB / 0.8255 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.6704, allocations: 3.109 kB / 0.8255 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.6705, allocations: 12.2 kB / 0.8255 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.6705, allocations: 4.109 kB / 0.8255 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00018/0.6707, allocations: 207.7 kB / 0.8257 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6707, allocations: 0 / 0.8257 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002832/0.671, allocations: 34.08 kB / 0.8257 GB, free: 23.75 MB / 0.6387 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001664/0.6726, allocations: 455.4 kB / 0.8262 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6729, allocations: 78.8 kB / 0.8263 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6729, allocations: 0 / 0.8263 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.673, allocations: 35.02 kB / 0.8263 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.6733, allocations: 37.09 kB / 0.8263 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.6739, allocations: 315 kB / 0.8266 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.674, allocations: 115.6 kB / 0.8267 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.195e-05/0.6741, allocations: 28.05 kB / 0.8268 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.6742, allocations: 23.73 kB / 0.8268 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.6742, allocations: 1.031 kB / 0.8268 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.006969/0.6812, allocations: 2.76 MB / 0.8295 GB, free: 22.92 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.919105771929026] Failed to read output from testmodel.py, exit status != 0: 0.6898550447076559 0.701267478 0.033331959 Calling exit ...