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.001048/0.001048, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001826/0.001826, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.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-535:34: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-535:42: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.8307/0.8307, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5206 GB, free: 1.203 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.09e-05, allocations: 4.938 kB / 0.5206 GB, free: 1.199 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002716/0.002737, allocations: 1.83 MB / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.004205, allocations: 1.219 MB / 0.5236 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.004293, allocations: 5.062 kB / 0.5236 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.004586, allocations: 59.67 kB / 0.5236 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004846, allocations: 116 kB / 0.5237 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.005215, allocations: 202.1 kB / 0.5239 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005391, allocations: 163.5 kB / 0.5241 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.005487, allocations: 17.62 kB / 0.5241 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.005599, allocations: 88.7 kB / 0.5242 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005709, allocations: 59.81 kB / 0.5242 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.00573, allocations: 10 kB / 0.5242 GB, free: 13.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.005867, allocations: 79.86 kB / 0.5243 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.005935, allocations: 47.83 kB / 0.5244 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.005981, allocations: 27.88 kB / 0.5244 GB, free: 13.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.0062, allocations: 167.4 kB / 0.5245 GB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006203, allocations: 0 / 0.5245 GB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006204, allocations: 4.906 kB / 0.5246 GB, free: 13.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.006207, allocations: 0 / 0.5246 GB, free: 13.13 MB / 458.7 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.0005627/0.00677, allocations: 0.5253 MB / 0.5251 GB, free: 12.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.006808, allocations: 12.03 kB / 0.5251 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.006862, allocations: 17.91 kB / 0.5251 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.007069, allocations: 184.2 kB / 0.5253 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.007086, allocations: 4.375 kB / 0.5253 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.007102, allocations: 13.8 kB / 0.5253 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.007265, allocations: 115.9 kB / 0.5254 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.007275, allocations: 11.92 kB / 0.5254 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.007285, allocations: 4.719 kB / 0.5254 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.007298, allocations: 0 / 0.5254 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.007344, allocations: 20.77 kB / 0.5254 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.007776, allocations: 331.7 kB / 0.5257 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007902, allocations: 70.06 kB / 0.5258 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.00794, allocations: 27.66 kB / 0.5258 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.007952, allocations: 0 / 0.5258 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.008062, allocations: 77.08 kB / 0.5259 GB, free: 11.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.008064, allocations: 0 / 0.5259 GB, free: 11.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002248/0.008289, allocations: 110.2 kB / 0.526 GB, free: 11.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.008331, allocations: 81.86 kB / 0.5261 GB, free: 11.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.008515, allocations: 274.9 kB / 0.5264 GB, free: 11.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.008532, allocations: 30.53 kB / 0.5264 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.008606, allocations: 170.9 kB / 0.5266 GB, free: 10.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.00863, allocations: 24.77 kB / 0.5266 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.008669, allocations: 31.36 kB / 0.5266 GB, free: 10.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.00879, allocations: 0.504 MB / 0.5271 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.008818, allocations: 12.64 kB / 0.5271 GB, free: 10.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.008876, allocations: 107.1 kB / 0.5272 GB, free: 10.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.00894, allocations: 55.86 kB / 0.5273 GB, free: 10.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008943, allocations: 4 kB / 0.5273 GB, free: 10.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001062/0.009049, allocations: 90.55 kB / 0.5274 GB, free: 10 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.009061, allocations: 8 kB / 0.5274 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.009066, allocations: 1.219 kB / 0.5274 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.009078, allocations: 0 / 0.5274 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.00915, allocations: 12 kB / 0.5274 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.009157, allocations: 4.609 kB / 0.5274 GB, free: 9.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.009196, allocations: 9.453 kB / 0.5274 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.009203, allocations: 4 kB / 0.5274 GB, free: 9.965 MB / 458.7 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.43e-05/0.009297, allocations: 169.2 kB / 0.5276 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.009318, allocations: 23.34 kB / 0.5276 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.009468, allocations: 95.12 kB / 0.5277 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.009477, allocations: 7.938 kB / 0.5277 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.00948, allocations: 0 / 0.5277 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.009486, allocations: 3.984 kB / 0.5277 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.009619, allocations: 184.4 kB / 0.5279 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009621, allocations: 0 / 0.5279 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.009648, allocations: 11.98 kB / 0.5279 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00965, allocations: 0 / 0.5279 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.009658, allocations: 2.781 kB / 0.5279 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.009659, allocations: 0 / 0.5279 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.009662, allocations: 4 kB / 0.5279 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.009792, allocations: 140.2 kB / 0.528 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.009812, allocations: 15.91 kB / 0.528 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.009832, allocations: 3.984 kB / 0.528 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.00986, allocations: 8 kB / 0.528 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.009908, allocations: 8.516 kB / 0.528 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.009917, allocations: 0 / 0.528 GB, free: 9.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.01003, allocations: 196.6 kB / 0.5282 GB, free: 9.039 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 4 kB / 0.5282 GB, free: 9.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.0102, allocations: 35.92 kB / 0.5283 GB, free: 9 MB / 458.7 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.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.0008791/0.01108, allocations: 411.4 kB / 0.5287 GB, free: 8.781 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01121, allocations: 53.09 kB / 0.5287 GB, free: 8.727 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01121, allocations: 0 / 0.5287 GB, free: 8.727 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.01125, allocations: 35.67 kB / 0.5287 GB, free: 8.688 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01145, allocations: 45.77 kB / 0.5288 GB, free: 8.648 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.01182, allocations: 266.8 kB / 0.529 GB, free: 8.355 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.01187, allocations: 76.73 kB / 0.5291 GB, free: 8.262 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.01191, allocations: 22.44 kB / 0.5291 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.01195, allocations: 25.23 kB / 0.5292 GB, free: 8.219 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01195, allocations: 3.938 kB / 0.5292 GB, free: 8.215 MB / 458.7 MB Notification: Performance of Templates: time 0.004568/0.01652, allocations: 2.695 MB / 0.5318 GB, free: 5.684 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.983433835906908]