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.001028/0.001028, 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.0011/0.0011, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9701/0.9701, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8149/0.8149, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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.643e-06/1.643e-06, allocations: 1.312 kB / 0.5204 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.285e-05, allocations: 7.125 kB / 0.5204 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.00117/0.001193, allocations: 0.6102 MB / 0.521 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.001423, allocations: 59.78 kB / 0.5211 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.001441, allocations: 0.75 kB / 0.5211 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.001459, allocations: 3.938 kB / 0.5211 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.001466, allocations: 1.406 kB / 0.5211 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.001739, allocations: 19.92 kB / 0.5211 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.675e-05/0.001795, allocations: 11.97 kB / 0.5211 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.001835, allocations: 5.344 kB / 0.5211 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.001865, allocations: 8 kB / 0.5211 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.001917, allocations: 15.86 kB / 0.5211 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.001935, allocations: 1.438 kB / 0.5211 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.002009, allocations: 8 kB / 0.5211 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.002026, allocations: 7.969 kB / 0.5211 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.002045, allocations: 8 kB / 0.5211 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/0.002134, allocations: 14.53 kB / 0.5212 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.002137, allocations: 4 kB / 0.5212 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002138, allocations: 0 / 0.5212 GB, free: 1.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.002142, allocations: 0 / 0.5212 GB, free: 1.73 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.0003133/0.002455, allocations: 352.3 kB / 0.5215 GB, free: 1.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.002495, allocations: 8.031 kB / 0.5215 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.002535, allocations: 5.5 kB / 0.5215 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.231e-05/0.002597, allocations: 108.6 kB / 0.5216 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.002614, allocations: 4.906 kB / 0.5216 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.002623, allocations: 1.344 kB / 0.5216 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.002744, allocations: 88.62 kB / 0.5217 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.00275, allocations: 4.125 kB / 0.5217 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.00276, allocations: 5.906 kB / 0.5217 GB, free: 1.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.002769, allocations: 4.359 kB / 0.5217 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.002795, allocations: 15.88 kB / 0.5217 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.002918, allocations: 156.3 kB / 0.5219 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.003005, allocations: 135.5 kB / 0.522 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.003041, allocations: 43.97 kB / 0.522 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.003166, allocations: 15.97 kB / 0.5221 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.003188, allocations: 41.33 kB / 0.5221 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.003189, allocations: 1.156 kB / 0.5221 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001589/0.003348, allocations: 75.81 kB / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.003408, allocations: 166.2 kB / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.003452, allocations: 142.2 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.003461, allocations: 26.77 kB / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.003508, allocations: 126.9 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.003544, allocations: 11.97 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.003583, allocations: 30.61 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.003705, allocations: 0.4883 MB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.003721, allocations: 4 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.003752, allocations: 46.42 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.003814, allocations: 58.38 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003816, allocations: 2.906 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.539e-05/0.003892, allocations: 65.56 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.003905, allocations: 8 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.00391, allocations: 0 / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.003924, allocations: 7.984 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.00399, allocations: 9.5 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.003995, allocations: 0 / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.004014, allocations: 7.875 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.00403, allocations: 4 kB / 0.5233 GB, free: 15.14 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 9.992e-05/0.00413, allocations: 167.3 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.00415, allocations: 7.953 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.004333, allocations: 102.6 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.004337, allocations: 3.984 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.004342, allocations: 0 / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.004346, allocations: 4 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.004454, allocations: 128.5 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.004456, allocations: 0 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.004502, allocations: 17.98 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.004505, allocations: 4 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.004514, allocations: 4 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.004518, allocations: 7.938 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.004519, allocations: 0 / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.004634, allocations: 156.1 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.00464, allocations: 4 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.004651, allocations: 4.938 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.004666, allocations: 0 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.004687, allocations: 11.92 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.00469, allocations: 5.562 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.004726, allocations: 123.2 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004726, allocations: 4 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001398/0.004865, allocations: 4 kB / 0.5241 GB, free: 14.32 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.0001273/0.004993, allocations: 104.4 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.005083, allocations: 45.06 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.005084, allocations: 0 / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.005107, allocations: 32.97 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.005221, allocations: 11.98 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.005472, allocations: 166 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.005511, allocations: 61.19 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.005542, allocations: 14.27 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.005566, allocations: 13.44 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.005567, allocations: 0 / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002253/0.00782, allocations: 0.5544 MB / 0.525 GB, free: 13.29 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.9073516628704965]