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.001347/0.001347, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 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.001503/0.001503, allocations: 169 kB / 23.02 MB, free: 1.551 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.9959/0.9959, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7889/0.7889, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.844e-06/1.844e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.458e-05, allocations: 8.094 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003611/0.003646, allocations: 1.822 MB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.005865, allocations: 1.231 MB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.006013, allocations: 4 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.006402, allocations: 60.61 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.006853, allocations: 124.8 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.007488, allocations: 188.4 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.007789, allocations: 163.6 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.007921, allocations: 14.41 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.008213, allocations: 91.67 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.00835, allocations: 61.16 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.008372, allocations: 4 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.008733, allocations: 87.84 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.008816, allocations: 45.19 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.008871, allocations: 31.86 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.009169, allocations: 171.3 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.009174, allocations: 4.781 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/0.009177, allocations: 0 / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.009182, allocations: 1.844 kB / 0.5243 GB, free: 14.11 MB / 0.4948 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.0006458/0.009828, allocations: 0.5128 MB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.009871, allocations: 8.031 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.009939, allocations: 24.83 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.01016, allocations: 187.8 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.01018, allocations: 10.41 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.0102, allocations: 384 / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.01036, allocations: 70.92 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01037, allocations: 11.86 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.01039, allocations: 4 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.01041, allocations: 1.469 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.01047, allocations: 19.98 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.01097, allocations: 339.7 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.01147, allocations: 68.11 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.01151, allocations: 20.64 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.01153, allocations: 4 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.01168, allocations: 70.27 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.01168, allocations: 0 / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002823/0.01196, allocations: 114.4 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.012, allocations: 51.41 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01219, allocations: 280.9 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.01221, allocations: 25.7 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.0123, allocations: 179.7 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.01233, allocations: 11.91 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.01237, allocations: 36.58 kB / 0.5263 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01253, allocations: 0.504 MB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.01256, allocations: 16 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.01263, allocations: 73.19 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/0.01271, allocations: 61.08 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01272, allocations: 0 / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001328/0.01285, allocations: 97.47 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01286, allocations: 5.719 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01287, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01289, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.01299, allocations: 15.98 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01299, allocations: 0 / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.01304, allocations: 5 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.01305, allocations: 4 kB / 0.527 GB, free: 11.09 MB / 0.4948 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.0001126/0.01316, allocations: 169.4 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.0133, allocations: 19.89 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.01348, allocations: 106 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.01349, allocations: 4 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01349, allocations: 0 / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.0135, allocations: 0 / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01365, allocations: 176.5 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01366, allocations: 3.984 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.01369, allocations: 8 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01369, allocations: 2.75 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01371, allocations: 7.938 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01371, allocations: 0 / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01371, allocations: 0 / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.01384, allocations: 132.3 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.01387, allocations: 23.89 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01388, allocations: 0 / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.01391, allocations: 4.562 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.01396, allocations: 15.92 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01397, allocations: 9.562 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001001/0.01407, allocations: 199.4 kB / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01407, allocations: 0 / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001827/0.01425, allocations: 31.94 kB / 0.5279 GB, free: 10.13 MB / 0.4948 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.0009343/0.01519, allocations: 403.8 kB / 0.5283 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01534, allocations: 56.16 kB / 0.5284 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01534, allocations: 4 kB / 0.5284 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.01538, allocations: 28.42 kB / 0.5284 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01559, allocations: 58.53 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.01599, allocations: 270.7 kB / 0.5287 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.588e-05/0.01604, allocations: 76.77 kB / 0.5288 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.01609, allocations: 22.69 kB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.01613, allocations: 27.14 kB / 0.5288 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01613, allocations: 0 / 0.5288 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.00506/0.02119, allocations: 2.793 MB / 0.5315 GB, free: 6.711 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.004465424921364]