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.001204/0.001204, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001032/0.001032, allocations: 173 kB / 23.36 MB, free: 0.9727 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 0.9926/0.9926, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7468/0.7468, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 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.773e-06/1.773e-06, allocations: 0 / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.882e-05, allocations: 6.312 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003251/0.003269, allocations: 1.827 MB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.005329, allocations: 1.241 MB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.005402, allocations: 0 / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.005667, allocations: 53.11 kB / 483.5 MB, free: 3.438 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.005933, allocations: 132.4 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.006282, allocations: 193.9 kB / 483.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.006447, allocations: 163.7 kB / 484 MB, free: 2.973 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.006532, allocations: 14.28 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006642, allocations: 87.8 kB / 484.1 MB, free: 2.867 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.006728, allocations: 60.72 kB / 484.1 MB, free: 2.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.006744, allocations: 8 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.006869, allocations: 81.23 kB / 484.2 MB, free: 2.723 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.006932, allocations: 43.83 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.00697, allocations: 31.88 kB / 484.3 MB, free: 2.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.007518, allocations: 175.3 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007521, allocations: 0.8125 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007521, allocations: 0 / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.007525, allocations: 1.281 kB / 484.5 MB, free: 2.477 MB / 442.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.0005004/0.008025, allocations: 392.7 kB / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.008066, allocations: 12.03 kB / 484.9 MB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.008107, allocations: 13.45 kB / 484.9 MB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.008308, allocations: 177.3 kB / 485 MB, free: 1.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.008329, allocations: 8.297 kB / 485 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.008343, allocations: 5.688 kB / 485.1 MB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.008481, allocations: 69.75 kB / 485.1 MB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.00849, allocations: 7.938 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.008498, allocations: 0.5312 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.008517, allocations: 0 / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.00855, allocations: 13.05 kB / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.008819, allocations: 201.8 kB / 485.3 MB, free: 1.523 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.008921, allocations: 105.2 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.008944, allocations: 13.92 kB / 485.5 MB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.008956, allocations: 7.938 kB / 485.5 MB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.946e-05/0.009046, allocations: 75.66 kB / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.009048, allocations: 0.9375 kB / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001261/0.009174, allocations: 65.67 kB / 485.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.0092, allocations: 56.17 kB / 485.7 MB, free: 1.164 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.009329, allocations: 221.6 kB / 485.9 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.009345, allocations: 31.14 kB / 485.9 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.009386, allocations: 104.5 kB / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.009405, allocations: 11.91 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.009437, allocations: 29.69 kB / 486 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.009511, allocations: 327.6 kB / 486.4 MB, free: 428 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.009531, allocations: 14.81 kB / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.009567, allocations: 57.27 kB / 486.4 MB, free: 340 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.009618, allocations: 47.66 kB / 486.5 MB, free: 284 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00962, allocations: 0.625 kB / 486.5 MB, free: 284 kB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.917e-05/0.009699, allocations: 81.12 kB / 486.6 MB, free: 196 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.009711, allocations: 4.875 kB / 486.6 MB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009716, allocations: 7.938 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.009728, allocations: 0 / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.009785, allocations: 13.05 kB / 486.6 MB, free: 172 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.009789, allocations: 4 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.009822, allocations: 8.516 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.009829, allocations: 8 kB / 486.6 MB, free: 152 kB / 442.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 7.293e-05/0.009902, allocations: 117.2 kB / 486.7 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.009917, allocations: 16.55 kB / 486.7 MB, free: 8 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.01003, allocations: 76.91 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.01004, allocations: 4.625 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01004, allocations: 0 / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01005, allocations: 0.625 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.322e-05/0.01014, allocations: 101.8 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01014, allocations: 8.641 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.01017, allocations: 8 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01017, allocations: 0.5312 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01018, allocations: 4.594 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01018, allocations: 0 / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01018, allocations: 5.281 kB / 486.9 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.01025, allocations: 90.75 kB / 487 MB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.01027, allocations: 19.84 kB / 487.1 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01029, allocations: 12.84 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.01031, allocations: 0 / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01035, allocations: 17.28 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01035, allocations: 4 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.01041, allocations: 73.45 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01041, allocations: 0 / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.01055, allocations: 35.89 kB / 487.2 MB, free: 15.51 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.001113/0.01166, allocations: 0.5287 MB / 487.7 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.01176, allocations: 45.36 kB / 487.8 MB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01176, allocations: 0 / 487.8 MB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.01179, allocations: 26.28 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.01193, allocations: 36.08 kB / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.01227, allocations: 275.1 kB / 488.1 MB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.01231, allocations: 83.77 kB / 488.2 MB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.01235, allocations: 18.94 kB / 488.2 MB, free: 14.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.01242, allocations: 76.2 kB / 488.3 MB, free: 14.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01243, allocations: 0 / 488.3 MB, free: 14.7 MB / 458.7 MB Notification: Performance of Templates: time 0.004557/0.01698, allocations: 2.82 MB / 491.1 MB, free: 12.1 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.6476682741194963]