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.002108/0.002108, allocations: 93.47 kB / 19.44 MB, free: 336 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.001944/0.001944, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] 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 1.331/1.331, allocations: 154.6 MB / 414.2 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 178] 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.984e-06/1.984e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.171e-05/4.369e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003405/0.003449, allocations: 1.799 MB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.005918, allocations: 1.206 MB / 0.5226 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.006004, allocations: 8.938 kB / 0.5226 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.006297, allocations: 55.67 kB / 0.5226 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.006647, allocations: 128.3 kB / 0.5227 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.007197, allocations: 197 kB / 0.5229 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.007438, allocations: 152.1 kB / 0.5231 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.007534, allocations: 21.61 kB / 0.5231 GB, free: 15 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.007701, allocations: 92.7 kB / 0.5232 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.007823, allocations: 59.86 kB / 0.5232 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.00785, allocations: 9.219 kB / 0.5233 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.008048, allocations: 83.81 kB / 0.5233 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.008131, allocations: 39.84 kB / 0.5234 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.008197, allocations: 36.47 kB / 0.5234 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.008558, allocations: 211.3 kB / 0.5236 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.008563, allocations: 5.703 kB / 0.5236 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of FrontEnd: time 8.01e-07/0.008564, allocations: 0 / 0.5236 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.008569, allocations: 0 / 0.5236 GB, free: 14.48 MB / 0.4949 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.0009413/0.00951, allocations: 0.5281 MB / 0.5241 GB, free: 13.91 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.009546, allocations: 9.344 kB / 0.5241 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.009627, allocations: 24.84 kB / 0.5242 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.009972, allocations: 188.2 kB / 0.5243 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.009994, allocations: 9.047 kB / 0.5243 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.01001, allocations: 8.375 kB / 0.5244 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.01025, allocations: 120.5 kB / 0.5245 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.01027, allocations: 7.938 kB / 0.5245 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01028, allocations: 0 / 0.5245 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01029, allocations: 0.7188 kB / 0.5245 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.0104, allocations: 31.92 kB / 0.5245 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.01106, allocations: 352.2 kB / 0.5248 GB, free: 13.1 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.0113, allocations: 83.69 kB / 0.5249 GB, free: 13 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.01138, allocations: 32.83 kB / 0.525 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.01139, allocations: 0 / 0.525 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01159, allocations: 89.77 kB / 0.525 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.01159, allocations: 0 / 0.525 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.0003844/0.01197, allocations: 122.2 kB / 0.5252 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.01204, allocations: 77.11 kB / 0.5252 GB, free: 12.65 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.01241, allocations: 319.7 kB / 0.5255 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.01243, allocations: 25.7 kB / 0.5256 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.01259, allocations: 182.8 kB / 0.5257 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.01263, allocations: 23.83 kB / 0.5258 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.01269, allocations: 39.36 kB / 0.5258 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003139/0.01301, allocations: 0.5118 MB / 0.5263 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.01307, allocations: 19.98 kB / 0.5263 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01321, allocations: 114.1 kB / 0.5264 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.01336, allocations: 72.28 kB / 0.5265 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01336, allocations: 0 / 0.5265 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002277/0.01359, allocations: 102.1 kB / 0.5266 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01361, allocations: 12.88 kB / 0.5266 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01361, allocations: 0 / 0.5266 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01362, allocations: 0 / 0.5266 GB, free: 11.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01373, allocations: 17.58 kB / 0.5266 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01374, allocations: 0 / 0.5266 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.0138, allocations: 7.953 kB / 0.5266 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.01381, allocations: 0 / 0.5266 GB, free: 11.14 MB / 0.4949 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.0001567/0.01397, allocations: 174.3 kB / 0.5268 GB, free: 10.96 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.01401, allocations: 23.89 kB / 0.5268 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.01428, allocations: 111.1 kB / 0.5269 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.01428, allocations: 0 / 0.5269 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01429, allocations: 1.656 kB / 0.5269 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01429, allocations: 4 kB / 0.5269 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.01456, allocations: 204.4 kB / 0.5271 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01456, allocations: 4 kB / 0.5271 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.0146, allocations: 6.75 kB / 0.5271 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.0146, allocations: 0 / 0.5271 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.01463, allocations: 4 kB / 0.5271 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01463, allocations: 0 / 0.5271 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01463, allocations: 3.984 kB / 0.5271 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.01491, allocations: 152.2 kB / 0.5273 GB, free: 10.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.01495, allocations: 11.91 kB / 0.5273 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.01498, allocations: 4 kB / 0.5273 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.01504, allocations: 9.984 kB / 0.5273 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01509, allocations: 11.98 kB / 0.5273 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01511, allocations: 4 kB / 0.5273 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004444/0.01555, allocations: 215.5 kB / 0.5275 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01555, allocations: 0 / 0.5275 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002658/0.01582, allocations: 40.86 kB / 0.5276 GB, free: 10.11 MB / 0.4949 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.003064/0.01888, allocations: 460.4 kB / 0.528 GB, free: 9.879 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.01911, allocations: 67.64 kB / 0.5281 GB, free: 9.809 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01911, allocations: 0 / 0.5281 GB, free: 9.809 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01922, allocations: 47.61 kB / 0.5281 GB, free: 9.758 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01954, allocations: 43.48 kB / 0.5282 GB, free: 9.723 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.02013, allocations: 285.2 kB / 0.5284 GB, free: 9.418 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.02025, allocations: 110.8 kB / 0.5285 GB, free: 9.289 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 8.132e-05/0.02034, allocations: 29 kB / 0.5286 GB, free: 9.258 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.02039, allocations: 20.5 kB / 0.5286 GB, free: 9.238 MB / 0.4949 GB Notification: Performance of SimCode: time 4.61e-07/0.02039, allocations: 0 / 0.5286 GB, free: 9.238 MB / 0.4949 GB Notification: Performance of Templates: time 0.007279/0.02767, allocations: 2.677 MB / 0.5312 GB, free: 6.727 MB / 0.4949 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: 6.235552627011202]