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.000989/0.000989, allocations: 92.22 kB / 19.65 MB, free: 276 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.001151/0.001151, 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 1.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8563/0.8563, allocations: 154.6 MB / 414.5 MB, free: 0.6406 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.673e-06/1.673e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.126e-05, allocations: 5.172 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003231/0.003263, allocations: 1.821 MB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005151, allocations: 1.227 MB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.005221, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.005462, allocations: 63.61 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.005924, allocations: 119.4 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.006433, allocations: 197.9 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.006632, allocations: 155.5 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.006707, allocations: 21.61 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.006837, allocations: 89.2 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.006944, allocations: 67.8 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.006963, allocations: 8 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.007123, allocations: 80.36 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.007191, allocations: 36.39 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.007242, allocations: 39.84 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.007503, allocations: 176 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007505, allocations: 0 / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007506, allocations: 1.844 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.00751, allocations: 0 / 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.0004895/0.007999, allocations: 0.5091 MB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.008027, allocations: 8.031 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.008076, allocations: 17.41 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.008304, allocations: 207.8 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.008319, allocations: 5.188 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.008333, allocations: 4.375 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.008504, allocations: 129.4 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.008511, allocations: 3.938 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.00852, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.008534, allocations: 4.781 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.008597, allocations: 19.98 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.008989, allocations: 332.7 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.009131, allocations: 77.19 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.009171, allocations: 23.67 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.009181, allocations: 0 / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.009294, allocations: 73.03 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.009295, allocations: 0 / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002243/0.009519, allocations: 116.5 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.009563, allocations: 77.11 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.009798, allocations: 276.4 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.009817, allocations: 29.7 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.009903, allocations: 166.8 kB / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.009927, allocations: 19.89 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.009975, allocations: 31.38 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.01012, allocations: 0.5056 MB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.01015, allocations: 8 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.01023, allocations: 106.1 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.01031, allocations: 60.23 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01031, allocations: 0 / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.01047, allocations: 102.4 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01048, allocations: 4.812 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01049, allocations: 0 / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.0105, allocations: 4 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.01057, allocations: 13.2 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01058, allocations: 4 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.01063, allocations: 3.938 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.01064, allocations: 8.594 kB / 0.5272 GB, free: 10.95 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 9.34e-05/0.01073, allocations: 169.2 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.01076, allocations: 19.91 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.01096, allocations: 105.9 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.01097, allocations: 0 / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01097, allocations: 0 / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01098, allocations: 0 / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.01114, allocations: 184.5 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01115, allocations: 0 / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.01119, allocations: 11.94 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01119, allocations: 3.125 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01121, allocations: 4 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01121, allocations: 0 / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01121, allocations: 3.984 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01141, allocations: 136.3 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.01144, allocations: 15.91 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01147, allocations: 4 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.01151, allocations: 0 / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.01158, allocations: 17.73 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01159, allocations: 7.984 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001547/0.01175, allocations: 195.5 kB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01175, allocations: 0 / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002755/0.01202, allocations: 35.92 kB / 0.528 GB, free: 9.988 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.001224/0.01325, allocations: 407.6 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01339, allocations: 59.59 kB / 0.5285 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01339, allocations: 0 / 0.5285 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.01345, allocations: 27.67 kB / 0.5285 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01372, allocations: 51.31 kB / 0.5286 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.01412, allocations: 278.2 kB / 0.5288 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.01417, allocations: 79.81 kB / 0.5289 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.585e-05/0.01424, allocations: 21.78 kB / 0.5289 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.01429, allocations: 28.44 kB / 0.5289 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.01429, allocations: 0 / 0.5289 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of Templates: time 0.005637/0.01993, allocations: 2.691 MB / 0.5316 GB, free: 6.668 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.065032965969294]