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.001332/0.001332, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001038/0.001038, allocations: 181 kB / 23.36 MB, free: 1.133 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.9647/0.9647, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8939/0.8939, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.393e-06/1.393e-06, allocations: 0 / 480 MB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.877e-05, allocations: 2.938 kB / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001308/0.001336, allocations: 0.6173 MB / 480.7 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.001546, allocations: 64.7 kB / 480.7 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.001561, allocations: 1.188 kB / 480.7 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.001574, allocations: 0 / 480.7 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.001581, allocations: 0 / 480.7 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.001806, allocations: 28.69 kB / 480.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.001849, allocations: 13.3 kB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.001888, allocations: 5.719 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.001916, allocations: 4 kB / 480.8 MB, free: 6.102 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.001963, allocations: 12.73 kB / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.001974, allocations: 0 / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.002041, allocations: 16.53 kB / 480.8 MB, free: 6.074 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.002055, allocations: 1.594 kB / 480.8 MB, free: 6.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.002066, allocations: 4.5 kB / 480.8 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.00214, allocations: 22.42 kB / 480.8 MB, free: 6.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002142, allocations: 0 / 480.8 MB, free: 6.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002142, allocations: 4 kB / 480.8 MB, free: 6.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.002145, allocations: 0 / 480.8 MB, free: 6.047 MB / 442.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.0002326/0.002378, allocations: 222.1 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.002408, allocations: 8.031 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.002431, allocations: 5.594 kB / 481.1 MB, free: 5.797 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.273e-05/0.002483, allocations: 109.8 kB / 481.2 MB, free: 5.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.002495, allocations: 9.219 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.002505, allocations: 1.625 kB / 481.2 MB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.089e-05/0.002585, allocations: 71.12 kB / 481.3 MB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.002592, allocations: 192 / 481.3 MB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.002598, allocations: 1.812 kB / 481.3 MB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002605, allocations: 4.375 kB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.002625, allocations: 18.77 kB / 481.3 MB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.61e-05/0.002712, allocations: 92.42 kB / 481.4 MB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.002781, allocations: 94.47 kB / 481.5 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.002807, allocations: 40.47 kB / 481.5 MB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.002907, allocations: 11.94 kB / 481.5 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.002929, allocations: 35.41 kB / 481.6 MB, free: 5.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.00293, allocations: 0 / 481.6 MB, free: 5.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001094/0.003039, allocations: 64.66 kB / 481.6 MB, free: 5.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.003099, allocations: 162.2 kB / 481.8 MB, free: 4.922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.512e-05/0.003124, allocations: 92.86 kB / 481.9 MB, free: 4.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.003134, allocations: 25.7 kB / 481.9 MB, free: 4.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.003151, allocations: 80.14 kB / 482 MB, free: 4.711 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.00318, allocations: 16.25 kB / 482 MB, free: 4.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.003204, allocations: 21.69 kB / 482 MB, free: 4.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.003274, allocations: 314.8 kB / 482.3 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.003284, allocations: 4 kB / 482.3 MB, free: 4.348 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.003308, allocations: 36.83 kB / 482.4 MB, free: 4.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.003353, allocations: 46.62 kB / 482.4 MB, free: 4.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.003355, allocations: 0 / 482.4 MB, free: 4.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.39e-05/0.003409, allocations: 58.78 kB / 482.5 MB, free: 4.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.003418, allocations: 4.562 kB / 482.5 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.003423, allocations: 4.875 kB / 482.5 MB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.003434, allocations: 0.5938 kB / 482.5 MB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.003486, allocations: 20.7 kB / 482.5 MB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.003488, allocations: 0 / 482.5 MB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.003506, allocations: 8.484 kB / 482.5 MB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.003511, allocations: 0.625 kB / 482.5 MB, free: 4.141 MB / 442.7 MB 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 5.368e-05/0.003565, allocations: 118.4 kB / 482.6 MB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.003575, allocations: 4 kB / 482.6 MB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.003677, allocations: 90.7 kB / 482.7 MB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003679, allocations: 0.7812 kB / 482.7 MB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.003682, allocations: 4 kB / 482.7 MB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.003685, allocations: 0.9062 kB / 482.7 MB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.881e-05/0.003754, allocations: 73.83 kB / 482.8 MB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.003756, allocations: 4 kB / 482.8 MB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.004054, allocations: 20.94 kB / 482.8 MB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004056, allocations: 0.6562 kB / 482.8 MB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.004062, allocations: 8.609 kB / 482.8 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.004064, allocations: 0 / 482.8 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004065, allocations: 1.312 kB / 482.8 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.942e-05/0.004144, allocations: 120.3 kB / 482.9 MB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.004151, allocations: 7.953 kB / 482.9 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.00416, allocations: 6.953 kB / 482.9 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.004174, allocations: 4 kB / 483 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.004192, allocations: 11.98 kB / 483 MB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.004196, allocations: 4 kB / 483 MB, free: 3.621 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.121e-06/0.004202, allocations: 5.922 kB / 483 MB, free: 3.613 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004202, allocations: 0 / 483 MB, free: 3.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001186/0.004321, allocations: 8 kB / 483 MB, free: 3.605 MB / 442.7 MB 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.0001092/0.00443, allocations: 89.14 kB / 483.1 MB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.0045, allocations: 39.45 kB / 483.1 MB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.004502, allocations: 0 / 483.1 MB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/0.004521, allocations: 25.77 kB / 483.1 MB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.856e-05/0.00458, allocations: 9.156 kB / 483.1 MB, free: 3.434 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.004752, allocations: 141.9 kB / 483.3 MB, free: 3.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.004787, allocations: 56.02 kB / 483.3 MB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.004824, allocations: 6.25 kB / 483.3 MB, free: 3.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.004861, allocations: 67.34 kB / 483.4 MB, free: 3.113 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004861, allocations: 0.5 kB / 483.4 MB, free: 3.113 MB / 442.7 MB Notification: Performance of Templates: time 0.002032/0.006893, allocations: 0.6478 MB / 484.1 MB, free: 2.516 MB / 442.7 MB " [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.5831096819601953]