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.001121/0.001121, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.001415/0.001415, allocations: 215.9 kB / 23.01 MB, free: 3.098 MB / 13.93 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 0.9256/0.9256, allocations: 230.6 MB / 256.8 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7663/0.7663, allocations: 203.8 MB / 0.5049 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] 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.001268/0.001268, allocations: 67.39 kB / 0.7195 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4814, allocations: 102 MB / 0.8191 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002417/0.4838, allocations: 1.814 MB / 0.8209 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4852, allocations: 1.295 MB / 0.8221 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.4853, allocations: 3.812 kB / 0.8221 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.4856, allocations: 58.5 kB / 0.8222 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.4859, allocations: 117.1 kB / 0.8223 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.4864, allocations: 198.2 kB / 0.8225 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.4866, allocations: 159.6 kB / 0.8226 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4867, allocations: 23.11 kB / 0.8227 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.4868, allocations: 73.03 kB / 0.8227 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.4869, allocations: 67.38 kB / 0.8228 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.4869, allocations: 6.844 kB / 0.8228 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.4871, allocations: 87.25 kB / 0.8229 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.4872, allocations: 41.06 kB / 0.8229 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.4873, allocations: 62.56 kB / 0.823 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.4876, allocations: 211 kB / 0.8232 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4876, allocations: 4 kB / 0.8232 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4876, allocations: 0 / 0.8232 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4876, allocations: 0 / 0.8232 GB, free: 14.9 MB / 0.6198 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.0005771/0.4882, allocations: 428 kB / 0.8236 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4882, allocations: 10.62 kB / 0.8236 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.4882, allocations: 21.48 kB / 0.8236 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4885, allocations: 197.5 kB / 0.8238 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4886, allocations: 7.125 kB / 0.8238 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.4886, allocations: 10.34 kB / 0.8238 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4887, allocations: 92.44 kB / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4888, allocations: 1.438 kB / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4888, allocations: 0.9844 kB / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4888, allocations: 2.125 kB / 0.8239 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.4889, allocations: 39.06 kB / 0.824 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.4893, allocations: 335.1 kB / 0.8243 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4895, allocations: 86.91 kB / 0.8244 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.4895, allocations: 33.58 kB / 0.8244 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4896, allocations: 2.109 kB / 0.8244 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.4897, allocations: 82.92 kB / 0.8245 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.4897, allocations: 0 / 0.8245 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002713/0.49, allocations: 138.2 kB / 0.8246 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.49, allocations: 108.9 kB / 0.8247 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4903, allocations: 276.8 kB / 0.825 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4903, allocations: 27.92 kB / 0.825 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.4904, allocations: 125.2 kB / 0.8251 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4904, allocations: 21.31 kB / 0.8251 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.4904, allocations: 32.75 kB / 0.8252 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.4905, allocations: 338 kB / 0.8255 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.4906, allocations: 24.97 kB / 0.8255 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.4906, allocations: 64.33 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.4907, allocations: 71.12 kB / 0.8256 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4907, allocations: 4 kB / 0.8257 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001468/0.4909, allocations: 113.7 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4909, allocations: 5.781 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4909, allocations: 0 / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4909, allocations: 1.438 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.491, allocations: 17.3 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.491, allocations: 1.438 kB / 0.8258 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.4911, allocations: 17.17 kB / 0.8258 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.4911, allocations: 1.344 kB / 0.8258 GB, free: 12.77 MB / 0.6198 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.0001015/0.4912, allocations: 146.9 kB / 0.8259 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.4912, allocations: 16.12 kB / 0.826 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.4914, allocations: 119.4 kB / 0.8261 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4914, allocations: 5.125 kB / 0.8261 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4914, allocations: 1.719 kB / 0.8261 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4914, allocations: 4.547 kB / 0.8261 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4916, allocations: 196.8 kB / 0.8263 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4916, allocations: 0 / 0.8263 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.4916, allocations: 10.11 kB / 0.8263 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4916, allocations: 1.375 kB / 0.8263 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4916, allocations: 1.078 kB / 0.8263 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4916, allocations: 2.484 kB / 0.8263 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4916, allocations: 4 kB / 0.8263 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4918, allocations: 146.8 kB / 0.8264 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.4918, allocations: 23.58 kB / 0.8265 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4918, allocations: 3.906 kB / 0.8265 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.697e-05/0.4919, allocations: 6.406 kB / 0.8265 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.4919, allocations: 10.64 kB / 0.8265 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4919, allocations: 9.297 kB / 0.8265 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001489/0.4921, allocations: 203.7 kB / 0.8267 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4921, allocations: 3.938 kB / 0.8267 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001916/0.4923, allocations: 30.22 kB / 0.8267 GB, free: 12.13 MB / 0.6198 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 (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.000784/0.493, allocations: 423.5 kB / 0.8271 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.4932, allocations: 72.05 kB / 0.8272 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4932, allocations: 0 / 0.8272 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.4933, allocations: 34.84 kB / 0.8272 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4935, allocations: 38.42 kB / 0.8273 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.4941, allocations: 336.3 kB / 0.8276 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4943, allocations: 0.7271 MB / 0.8283 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.4944, allocations: 20.89 kB / 0.8283 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4944, allocations: 3.938 kB / 0.8283 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004586/0.4989, allocations: 2.675 MB / 0.8309 GB, free: 10.65 MB / 0.6198 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.096138481982052] Failed to read output from testmodel.py, exit status != 0: 0.5064120669849217 0.516287776 0.026640754000000003 Calling exit ...