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.001082/0.001082, allocations: 93.06 kB / 19.65 MB, free: 284 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.001479/0.001479, allocations: 173 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 0.9687/0.9687, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7743/0.7743, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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.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.353e-06/1.353e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.519e-05, allocations: 6.422 kB / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001136/0.001161, allocations: 0.6045 MB / 0.521 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.001383, allocations: 65.64 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.0014, allocations: 0 / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.001419, allocations: 0.7656 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.001426, allocations: 0.7188 kB / 0.521 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.001674, allocations: 25.45 kB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.001727, allocations: 16.95 kB / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.001761, allocations: 0 / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.001789, allocations: 15.92 kB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.00183, allocations: 4 kB / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.001842, allocations: 1.562 kB / 0.5211 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.00191, allocations: 15.97 kB / 0.5211 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.001927, allocations: 0 / 0.5211 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.001945, allocations: 8 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.609e-05/0.002031, allocations: 20.7 kB / 0.5211 GB, free: 1.406 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002033, allocations: 0 / 0.5211 GB, free: 1.406 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002034, allocations: 1.156 kB / 0.5211 GB, free: 1.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.002038, allocations: 0 / 0.5211 GB, free: 1.406 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.000297/0.002335, allocations: 349.5 kB / 0.5215 GB, free: 1.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.002373, allocations: 15.97 kB / 0.5215 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.002409, allocations: 0.9375 kB / 0.5215 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.599e-05/0.002465, allocations: 111 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.002477, allocations: 4.375 kB / 0.5216 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.002485, allocations: 4.312 kB / 0.5216 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.0026, allocations: 84.67 kB / 0.5217 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.002608, allocations: 4.188 kB / 0.5217 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.002617, allocations: 4.359 kB / 0.5217 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.002625, allocations: 384 / 0.5217 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.002649, allocations: 17.53 kB / 0.5217 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.002776, allocations: 159.3 kB / 0.5219 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.002859, allocations: 132.1 kB / 0.522 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.0029, allocations: 51.55 kB / 0.522 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.003033, allocations: 7.938 kB / 0.522 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.003059, allocations: 45.39 kB / 0.5221 GB, free: 212 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.00306, allocations: 1.125 kB / 0.5221 GB, free: 212 kB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001582/0.003218, allocations: 71.59 kB / 0.5222 GB, free: 136 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.003284, allocations: 166.2 kB / 0.5223 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.546e-05/0.003319, allocations: 142.2 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.003329, allocations: 27.27 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.003357, allocations: 126.9 kB / 0.5226 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.003389, allocations: 11.97 kB / 0.5226 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.003417, allocations: 27.36 kB / 0.5226 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.003518, allocations: 497.1 kB / 0.5231 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.003534, allocations: 8 kB / 0.5231 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.003565, allocations: 50.42 kB / 0.5232 GB, free: 15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.003623, allocations: 60.34 kB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.003626, allocations: 1.188 kB / 0.5232 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.386e-05/0.003699, allocations: 70.14 kB / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.003715, allocations: 6.781 kB / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00372, allocations: 0 / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.003734, allocations: 4 kB / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.003799, allocations: 11.94 kB / 0.5233 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.003804, allocations: 0 / 0.5233 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.003825, allocations: 11.92 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.003832, allocations: 0 / 0.5233 GB, free: 14.82 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 6.402e-05/0.003896, allocations: 167.5 kB / 0.5235 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.003907, allocations: 7.953 kB / 0.5235 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.00405, allocations: 100.1 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.004053, allocations: 1.5 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.004057, allocations: 4 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004059, allocations: 0 / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.166e-05/0.004141, allocations: 128.7 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.004143, allocations: 0.5 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.004179, allocations: 23.08 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.004181, allocations: 4 kB / 0.5237 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.004189, allocations: 4 kB / 0.5237 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00419, allocations: 4 kB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004191, allocations: 0 / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.004296, allocations: 155 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.004302, allocations: 4 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.004312, allocations: 4 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.004326, allocations: 6.438 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.004345, allocations: 11.92 kB / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.00435, allocations: 4 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.004376, allocations: 119.2 kB / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.004376, allocations: 0 / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001376/0.004514, allocations: 8 kB / 0.524 GB, free: 14 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.0001134/0.004627, allocations: 110.5 kB / 0.5242 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.004724, allocations: 40.48 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004726, allocations: 1.156 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.004756, allocations: 37.08 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.004864, allocations: 10.11 kB / 0.5242 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.005099, allocations: 168.9 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.005132, allocations: 60.59 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.00516, allocations: 5.312 kB / 0.5245 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.005182, allocations: 14 kB / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.005183, allocations: 0 / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002264/0.007446, allocations: 0.6146 MB / 0.5251 GB, free: 12.91 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: 3.615688884165138]