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.001056/0.001056, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001051/0.001051, allocations: 173 kB / 23.49 MB, free: 1.059 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.8873/0.8873, allocations: 154.6 MB / 414.9 MB, free: 0.7031 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.744e-06/1.744e-06, allocations: 0 / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.184e-05, allocations: 6.109 kB / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002515/0.002547, allocations: 1.818 MB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.003966, allocations: 1.225 MB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.004044, allocations: 4.625 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.004289, allocations: 55.67 kB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.004558, allocations: 124.6 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.004912, allocations: 197.6 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.005076, allocations: 163.5 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.005157, allocations: 9.641 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.005254, allocations: 93.27 kB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.005337, allocations: 59.86 kB / 0.524 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005354, allocations: 8 kB / 0.524 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.005488, allocations: 88.55 kB / 0.5241 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.005548, allocations: 43.83 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.005589, allocations: 25.06 kB / 0.5242 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.0058, allocations: 175.3 kB / 0.5243 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.005802, allocations: 0 / 0.5243 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005803, allocations: 1.156 kB / 0.5243 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005807, allocations: 0 / 0.5243 GB, free: 14.46 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.0005435/0.006351, allocations: 0.5168 MB / 0.5248 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.006384, allocations: 14.39 kB / 0.5248 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.006439, allocations: 24.84 kB / 0.5249 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.006644, allocations: 191.8 kB / 0.525 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.006661, allocations: 4.375 kB / 0.525 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.006672, allocations: 384 / 0.525 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.006851, allocations: 120 kB / 0.5252 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006862, allocations: 13.48 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006871, allocations: 0 / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.006886, allocations: 7.984 kB / 0.5252 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.006933, allocations: 19.98 kB / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.007288, allocations: 336.2 kB / 0.5255 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007414, allocations: 72.09 kB / 0.5256 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.007445, allocations: 16.81 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.007458, allocations: 4 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.007559, allocations: 73.7 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.007561, allocations: 4 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002089/0.00777, allocations: 106.5 kB / 0.5258 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.007808, allocations: 81.09 kB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.007996, allocations: 281.9 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.00801, allocations: 25.7 kB / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.008083, allocations: 174.8 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.008103, allocations: 15.91 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.008141, allocations: 36.44 kB / 0.5264 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.008267, allocations: 0.5001 MB / 0.5269 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.008295, allocations: 15.98 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.008354, allocations: 110.8 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.247e-05/0.008416, allocations: 52.16 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008418, allocations: 2.781 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.008535, allocations: 101.5 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.008546, allocations: 4 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.00855, allocations: 4 kB / 0.5271 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.008561, allocations: 0 / 0.5271 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.008627, allocations: 8 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.008632, allocations: 7.031 kB / 0.5272 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.008668, allocations: 7.922 kB / 0.5272 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.008673, allocations: 4 kB / 0.5272 GB, free: 11.29 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 8.204e-05/0.008755, allocations: 164.5 kB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008774, allocations: 19.91 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.008913, allocations: 107 kB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.008921, allocations: 0 / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008923, allocations: 1.5 kB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008926, allocations: 0 / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.009063, allocations: 180.5 kB / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009064, allocations: 0 / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.009092, allocations: 11.16 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009096, allocations: 11.92 kB / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.009103, allocations: 0 / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.009104, allocations: 0 / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009105, allocations: 0 / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009231, allocations: 136.3 kB / 0.5278 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.009248, allocations: 15.84 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.009268, allocations: 4 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.009295, allocations: 6.422 kB / 0.5278 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.009339, allocations: 19.91 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.009348, allocations: 4 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001047/0.009453, allocations: 199.4 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009453, allocations: 0 / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001669/0.009619, allocations: 35.94 kB / 0.528 GB, free: 10.33 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.0008983/0.01052, allocations: 405.6 kB / 0.5284 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.01065, allocations: 55.59 kB / 0.5285 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01065, allocations: 0.5312 kB / 0.5285 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.01069, allocations: 28.45 kB / 0.5285 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.01089, allocations: 57.45 kB / 0.5286 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.01124, allocations: 272.2 kB / 0.5288 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01128, allocations: 71.83 kB / 0.5289 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.01133, allocations: 23.28 kB / 0.5289 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.01137, allocations: 28.48 kB / 0.5289 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01137, allocations: 4.906 kB / 0.5289 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of Templates: time 0.004477/0.01585, allocations: 2.686 MB / 0.5316 GB, free: 7.012 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.103430744027719]