Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.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.001885/0.001885, allocations: 81.5 kB / 19.44 MB, free: 344 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.002079/0.002079, allocations: 173.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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.422/1.422, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5197 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.177e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001748/0.001779, allocations: 0.6107 MB / 0.5203 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.002048, allocations: 56.84 kB / 0.5203 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.002069, allocations: 0.5625 kB / 0.5203 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.002082, allocations: 0 / 0.5203 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.525e-06/0.00209, allocations: 0.7188 kB / 0.5203 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.002362, allocations: 25.34 kB / 0.5204 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.002418, allocations: 15.92 kB / 0.5204 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.002458, allocations: 4 kB / 0.5204 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.002492, allocations: 8.609 kB / 0.5204 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.002544, allocations: 7.984 kB / 0.5204 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002558, allocations: 1.812 kB / 0.5204 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.002634, allocations: 19.92 kB / 0.5204 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.002648, allocations: 0 / 0.5204 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.002665, allocations: 0 / 0.5204 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.002784, allocations: 27.89 kB / 0.5204 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002786, allocations: 1.719 kB / 0.5204 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.00279, allocations: 4 kB / 0.5204 GB, free: 1.566 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.002793, allocations: 0 / 0.5204 GB, free: 1.566 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005184/0.003311, allocations: 348.4 kB / 0.5208 GB, free: 1.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.003349, allocations: 9.406 kB / 0.5208 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.003389, allocations: 4.938 kB / 0.5208 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.003502, allocations: 108.6 kB / 0.5209 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003514, allocations: 0.9062 kB / 0.5209 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.003525, allocations: 12.31 kB / 0.5209 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.003695, allocations: 85.42 kB / 0.521 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.003704, allocations: 192 / 0.521 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.003716, allocations: 5.844 kB / 0.521 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00372, allocations: 384 / 0.521 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.003761, allocations: 11.88 kB / 0.521 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.003967, allocations: 156.7 kB / 0.5212 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.004195, allocations: 131.7 kB / 0.5213 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.004267, allocations: 58.42 kB / 0.5213 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.004409, allocations: 11.44 kB / 0.5213 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.004452, allocations: 41.39 kB / 0.5214 GB, free: 384 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.004453, allocations: 0 / 0.5214 GB, free: 384 kB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002276/0.00468, allocations: 73.55 kB / 0.5215 GB, free: 304 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.004796, allocations: 162.2 kB / 0.5216 GB, free: 104 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.004899, allocations: 142.8 kB / 0.5217 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.004918, allocations: 25.7 kB / 0.5218 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.005086, allocations: 127.4 kB / 0.5219 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.005135, allocations: 28.81 kB / 0.5219 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.005177, allocations: 23.36 kB / 0.5219 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.005447, allocations: 0.4883 MB / 0.5224 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.005467, allocations: 9.406 kB / 0.5224 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.005533, allocations: 54.42 kB / 0.5225 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.005624, allocations: 60.75 kB / 0.5225 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005625, allocations: 0 / 0.5225 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.005745, allocations: 67.98 kB / 0.5226 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.005762, allocations: 8 kB / 0.5226 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005767, allocations: 0 / 0.5226 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005779, allocations: 0 / 0.5226 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.005851, allocations: 11.94 kB / 0.5226 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.005856, allocations: 4 kB / 0.5226 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.005887, allocations: 10.69 kB / 0.5226 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.005899, allocations: 7.984 kB / 0.5226 GB, free: 14.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0001266/0.006026, allocations: 156.6 kB / 0.5228 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.006043, allocations: 4 kB / 0.5228 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.006253, allocations: 101.7 kB / 0.5229 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.006258, allocations: 4.938 kB / 0.5229 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006262, allocations: 0 / 0.5229 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006265, allocations: 128 / 0.5229 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.006409, allocations: 129.5 kB / 0.523 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.006413, allocations: 4 kB / 0.523 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.006476, allocations: 20.58 kB / 0.523 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.006479, allocations: 0 / 0.523 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.006496, allocations: 9.125 kB / 0.5231 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006497, allocations: 0 / 0.5231 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.006501, allocations: 4 kB / 0.5231 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.006708, allocations: 153.5 kB / 0.5232 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.006722, allocations: 7.953 kB / 0.5232 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006734, allocations: 0 / 0.5232 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.006766, allocations: 4 kB / 0.5232 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.006806, allocations: 15.92 kB / 0.5232 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.006815, allocations: 4 kB / 0.5232 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.769e-05/0.006892, allocations: 126.3 kB / 0.5234 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006892, allocations: 0 / 0.5234 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001924/0.007085, allocations: 4 kB / 0.5234 GB, free: 14.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001704/0.007255, allocations: 111.1 kB / 0.5235 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.007382, allocations: 47.17 kB / 0.5235 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007384, allocations: 0 / 0.5235 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.007438, allocations: 35.61 kB / 0.5235 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007586, allocations: 8 kB / 0.5236 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.007938, allocations: 168.9 kB / 0.5237 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.994e-05/0.008008, allocations: 63.34 kB / 0.5238 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.008043, allocations: 7.25 kB / 0.5238 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.008079, allocations: 16.48 kB / 0.5238 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of SimCode: time 4.8e-07/0.00808, allocations: 0 / 0.5238 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.003475/0.01156, allocations: 0.565 MB / 0.5243 GB, free: 13.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.130572622059844]