Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001029/0.001029, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001149/0.001149, allocations: 177 kB / 23.36 MB, free: 1.129 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.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9246/0.9246, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 480 MB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.677e-05, allocations: 3.031 kB / 480 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00253/0.002547, allocations: 1.867 MB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004169, allocations: 1.244 MB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.004259, allocations: 0.5938 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.004559, allocations: 57.27 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.004864, allocations: 123.5 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.005338, allocations: 195.8 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.00554, allocations: 159.9 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.005637, allocations: 14.3 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.005758, allocations: 91.78 kB / 483.8 MB, free: 3.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.00585, allocations: 51.81 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.005877, allocations: 8.781 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.006051, allocations: 87.8 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.006112, allocations: 44.7 kB / 484 MB, free: 2.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.006152, allocations: 27.94 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006375, allocations: 180.5 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006377, allocations: 0 / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006378, allocations: 0 / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.006382, allocations: 0 / 484.2 MB, free: 2.742 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.0004235/0.006805, allocations: 393.2 kB / 484.6 MB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006848, allocations: 12.62 kB / 484.6 MB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.006886, allocations: 17.58 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.007068, allocations: 177.4 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.007083, allocations: 0.9375 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.007094, allocations: 5 kB / 484.8 MB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.007211, allocations: 73.69 kB / 484.8 MB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.007219, allocations: 8.562 kB / 484.9 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.007228, allocations: 4.703 kB / 484.9 MB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.007245, allocations: 0 / 484.9 MB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.007276, allocations: 16.45 kB / 484.9 MB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.007532, allocations: 198.9 kB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007634, allocations: 100.1 kB / 485.2 MB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.007656, allocations: 13.67 kB / 485.2 MB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.007668, allocations: 4.844 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.779e-05/0.007766, allocations: 78.22 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.007767, allocations: 1 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001291/0.007896, allocations: 65.67 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.007921, allocations: 56.02 kB / 485.4 MB, free: 1.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.008062, allocations: 222.7 kB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.008077, allocations: 27.02 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.008124, allocations: 104.6 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.008145, allocations: 11.91 kB / 485.7 MB, free: 1.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.008183, allocations: 35 kB / 485.8 MB, free: 1.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.008276, allocations: 326.8 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.008297, allocations: 14.81 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.008339, allocations: 53.33 kB / 486.2 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.008392, allocations: 43.66 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008393, allocations: 0.625 kB / 486.2 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.022e-05/0.008484, allocations: 85.25 kB / 486.3 MB, free: 468 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008497, allocations: 5.719 kB / 486.3 MB, free: 464 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008502, allocations: 4.594 kB / 486.3 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.008517, allocations: 0 / 486.3 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.008583, allocations: 16.86 kB / 486.3 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008588, allocations: 3.938 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.008623, allocations: 8.641 kB / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.008629, allocations: 4 kB / 486.3 MB, free: 428 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 8.596e-05/0.008715, allocations: 118.6 kB / 486.4 MB, free: 300 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.008733, allocations: 19.86 kB / 486.5 MB, free: 280 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.008849, allocations: 79.06 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.008857, allocations: 4 kB / 486.5 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008858, allocations: 0.7812 kB / 486.5 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.008863, allocations: 2.297 kB / 486.5 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.008964, allocations: 106.5 kB / 486.6 MB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.008967, allocations: 5.469 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.008992, allocations: 4 kB / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008994, allocations: 0 / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009004, allocations: 7.938 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009005, allocations: 0.75 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009006, allocations: 0 / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.009113, allocations: 99.17 kB / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.009132, allocations: 16.5 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.009152, allocations: 7.938 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/0.009178, allocations: 9.078 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.009217, allocations: 7.984 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.009225, allocations: 4 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.009292, allocations: 76.86 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009292, allocations: 0 / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.00944, allocations: 37.3 kB / 486.9 MB, free: 15.77 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.001289/0.01073, allocations: 0.5216 MB / 487.4 MB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.01084, allocations: 44.77 kB / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01085, allocations: 0 / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.01088, allocations: 24.84 kB / 487.5 MB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.01102, allocations: 38.38 kB / 487.5 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.01136, allocations: 280 kB / 487.8 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.01141, allocations: 75.83 kB / 487.9 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.01146, allocations: 28.09 kB / 487.9 MB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.01154, allocations: 71.36 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01154, allocations: 0 / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of Templates: time 0.004647/0.01618, allocations: 2.822 MB / 490.8 MB, free: 12.36 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.893613489344716]