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.00103/0.00103, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009756/0.0009756, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.9902/0.9902, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7966/0.7966, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.804e-06/1.804e-06, allocations: 0.6562 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.634e-05, allocations: 4.562 kB / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003341/0.003367, allocations: 1.815 MB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.00554, allocations: 1.218 MB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.00568, allocations: 1.469 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.006059, allocations: 59.67 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.006483, allocations: 123.4 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.007164, allocations: 196.2 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.007438, allocations: 163.5 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.00755, allocations: 17.62 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.00772, allocations: 83.73 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.007839, allocations: 67.8 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.007861, allocations: 8 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.008047, allocations: 75.88 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.008124, allocations: 47.83 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.008173, allocations: 32.42 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.008477, allocations: 171.9 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.008481, allocations: 3.984 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.008482, allocations: 0.9688 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.008487, allocations: 0 / 0.5247 GB, free: 13.8 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.0006182/0.009105, allocations: 0.5105 MB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.009148, allocations: 12.03 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.009204, allocations: 16.84 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.009434, allocations: 195.7 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.009456, allocations: 5.125 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.009469, allocations: 4.375 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.009628, allocations: 75.77 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.009639, allocations: 3.938 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.009648, allocations: 1.656 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.009668, allocations: 3.984 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.009714, allocations: 19.92 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.01011, allocations: 300.3 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.01024, allocations: 60.98 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.01027, allocations: 27.59 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01029, allocations: 1.344 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.01041, allocations: 73.03 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.01041, allocations: 0 / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002354/0.01064, allocations: 99.81 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.01067, allocations: 55.41 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01089, allocations: 268.3 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01091, allocations: 29.7 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.011, allocations: 178.7 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.01103, allocations: 19.88 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.01108, allocations: 30.12 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01124, allocations: 0.5118 MB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.01126, allocations: 4 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.01132, allocations: 64.75 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.01139, allocations: 51.58 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0114, allocations: 0 / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001525/0.01155, allocations: 94.77 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01156, allocations: 8 kB / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01157, allocations: 0 / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01158, allocations: 4.875 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.282e-05/0.01167, allocations: 15.98 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01167, allocations: 0.9375 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.01172, allocations: 4 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.01173, allocations: 0 / 0.5274 GB, free: 10.88 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.0001041/0.01183, allocations: 173.2 kB / 0.5276 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.01186, allocations: 24.44 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.01204, allocations: 99.7 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.01205, allocations: 1 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01205, allocations: 4 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01206, allocations: 0 / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.01221, allocations: 143.7 kB / 0.5278 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01222, allocations: 0 / 0.5278 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.01226, allocations: 7.984 kB / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01226, allocations: 3.938 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01227, allocations: 4 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01227, allocations: 0 / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01227, allocations: 0 / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.01245, allocations: 135.4 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01247, allocations: 15.89 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.0125, allocations: 11.94 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.01254, allocations: 0 / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.01258, allocations: 7.984 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01259, allocations: 8 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001154/0.01271, allocations: 187.4 kB / 0.5282 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01271, allocations: 0 / 0.5282 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002642/0.01297, allocations: 41.53 kB / 0.5282 GB, free: 9.973 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.001205/0.01418, allocations: 406.4 kB / 0.5286 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01434, allocations: 52.28 kB / 0.5287 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01434, allocations: 0.5 kB / 0.5287 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.01439, allocations: 31.66 kB / 0.5287 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01466, allocations: 46.25 kB / 0.5287 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01511, allocations: 270.6 kB / 0.529 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.01516, allocations: 75.83 kB / 0.5291 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.887e-05/0.01523, allocations: 25.78 kB / 0.5291 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.01534, allocations: 98.17 kB / 0.5292 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.01534, allocations: 3.375 kB / 0.5292 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of Templates: time 0.005086/0.02043, allocations: 2.852 MB / 0.532 GB, free: 6.434 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: 3.8579483781941235]