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.001105/0.001105, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001178/0.001178, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8234/0.8234, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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 8.82e-07/8.82e-07, allocations: 0 / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.224e-05, allocations: 5.25 kB / 480.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001091/0.001104, allocations: 0.67 MB / 480.8 MB, free: 6.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.001269, allocations: 52.58 kB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.001282, allocations: 0 / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.001292, allocations: 4.703 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.001297, allocations: 0 / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.001436, allocations: 23.91 kB / 480.9 MB, free: 6.082 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.281e-05/0.001469, allocations: 12.47 kB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.001496, allocations: 8 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.001522, allocations: 13.53 kB / 480.9 MB, free: 6.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.001555, allocations: 0.9844 kB / 480.9 MB, free: 6.051 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.001563, allocations: 5.219 kB / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.001622, allocations: 11.98 kB / 480.9 MB, free: 6.035 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.001634, allocations: 4.656 kB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.001645, allocations: 9.547 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.318e-05/0.001698, allocations: 16.73 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.0017, allocations: 0 / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.0017, allocations: 1.609 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.001704, allocations: 4.625 kB / 480.9 MB, free: 6.008 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.0001672/0.001871, allocations: 228.4 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.25e-05/0.001894, allocations: 8.031 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.571e-05/0.001909, allocations: 5.562 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.571e-05/0.001955, allocations: 106.4 kB / 481.3 MB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.001962, allocations: 4.375 kB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.001968, allocations: 9 kB / 481.3 MB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.258e-05/0.00203, allocations: 67.36 kB / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.002036, allocations: 1.125 kB / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.002042, allocations: 5.219 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.002046, allocations: 1.938 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.002063, allocations: 19.86 kB / 481.4 MB, free: 5.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.437e-05/0.002137, allocations: 92.44 kB / 481.5 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.002198, allocations: 97.97 kB / 481.6 MB, free: 5.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.002221, allocations: 33.42 kB / 481.6 MB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.002294, allocations: 16.59 kB / 481.6 MB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.002312, allocations: 34.56 kB / 481.7 MB, free: 5.137 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.002314, allocations: 2.828 kB / 481.7 MB, free: 5.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 7.938e-05/0.002393, allocations: 63.52 kB / 481.7 MB, free: 5.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.002443, allocations: 162.2 kB / 481.9 MB, free: 4.875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.687e-05/0.00247, allocations: 91.08 kB / 482 MB, free: 4.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.002482, allocations: 26.47 kB / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.002499, allocations: 80.14 kB / 482.1 MB, free: 4.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.002524, allocations: 21.3 kB / 482.1 MB, free: 4.645 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.002545, allocations: 17.7 kB / 482.1 MB, free: 4.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.002619, allocations: 314.8 kB / 482.4 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.002626, allocations: 5 kB / 482.4 MB, free: 4.301 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.002647, allocations: 32.28 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.002695, allocations: 55.62 kB / 482.5 MB, free: 4.188 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.002696, allocations: 0 / 482.5 MB, free: 4.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.752e-05/0.002744, allocations: 54.34 kB / 482.6 MB, free: 4.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.002752, allocations: 4.719 kB / 482.6 MB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.002756, allocations: 4 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.002762, allocations: 2 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.002796, allocations: 11.98 kB / 482.6 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.002799, allocations: 4.484 kB / 482.6 MB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.002815, allocations: 7.953 kB / 482.6 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.00282, allocations: 4 kB / 482.6 MB, free: 4.094 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 4.616e-05/0.002866, allocations: 114.4 kB / 482.7 MB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.002876, allocations: 8.734 kB / 482.7 MB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.193e-05/0.002967, allocations: 91.97 kB / 482.8 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.002969, allocations: 0.9375 kB / 482.8 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.002972, allocations: 4 kB / 482.8 MB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.002975, allocations: 0 / 482.8 MB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.933e-05/0.003034, allocations: 75.14 kB / 482.9 MB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.003037, allocations: 4 kB / 482.9 MB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.003066, allocations: 17.3 kB / 482.9 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.003067, allocations: 0.8438 kB / 482.9 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.003073, allocations: 8 kB / 482.9 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.003074, allocations: 3.938 kB / 482.9 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.003076, allocations: 4.594 kB / 482.9 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.003144, allocations: 106.5 kB / 483 MB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.003151, allocations: 7.953 kB / 483 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-06/0.003159, allocations: 4 kB / 483 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.003171, allocations: 0 / 483 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.003181, allocations: 7.984 kB / 483 MB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.003186, allocations: 4.594 kB / 483.1 MB, free: 3.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.941e-06/0.003191, allocations: 8.844 kB / 483.1 MB, free: 3.578 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003192, allocations: 2.625 kB / 483.1 MB, free: 3.578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.003302, allocations: 12 kB / 483.1 MB, free: 3.566 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 7.143e-05/0.003373, allocations: 88.28 kB / 483.2 MB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.543e-05/0.003429, allocations: 38.47 kB / 483.2 MB, free: 3.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.00343, allocations: 0 / 483.2 MB, free: 3.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.003449, allocations: 22.42 kB / 483.2 MB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.239e-05/0.003502, allocations: 11.98 kB / 483.2 MB, free: 3.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.003665, allocations: 144.7 kB / 483.4 MB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.609e-05/0.003691, allocations: 55.36 kB / 483.4 MB, free: 3.145 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.003718, allocations: 17.42 kB / 483.4 MB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.00375, allocations: 53.56 kB / 483.5 MB, free: 3.078 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.00375, allocations: 0 / 483.5 MB, free: 3.078 MB / 442.7 MB Notification: Performance of Templates: time 0.001684/0.005434, allocations: 0.6462 MB / 484.1 MB, free: 2.477 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.713427265174687]