Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001004/0.001004, allocations: 80.45 kB / 19.9 MB, free: 12 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.001246/0.001246, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9387/0.9387, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7483/0.7483, allocations: 154.9 MB / 414.9 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009526/0.0009526, allocations: 63.89 kB / 0.6199 GB, free: 12.7 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5429, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001387/0.5442, allocations: 0.6 MB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.5445, allocations: 56.36 kB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.5445, allocations: 0 / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.5445, allocations: 5.031 kB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.004e-05/0.5445, allocations: 0 / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.5448, allocations: 23.75 kB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.5448, allocations: 8.359 kB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.5449, allocations: 9.781 kB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.5449, allocations: 10.72 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.545, allocations: 8.531 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.545, allocations: 1.156 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.545, allocations: 19.91 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.545, allocations: 1.734 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.5451, allocations: 6.906 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.5451, allocations: 20.73 kB / 0.7203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5452, allocations: 4 kB / 0.7203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5452, allocations: 0.75 kB / 0.7203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5452, allocations: 1.219 kB / 0.7203 GB, free: 23.04 MB / 0.6355 GB 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.0002734/0.5454, allocations: 256.3 kB / 0.7205 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5455, allocations: 9.594 kB / 0.7205 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.5455, allocations: 7.547 kB / 0.7205 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.521e-05/0.5456, allocations: 108.1 kB / 0.7206 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5456, allocations: 1.5 kB / 0.7206 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.5456, allocations: 2.562 kB / 0.7206 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5457, allocations: 77.78 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5457, allocations: 9.312 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5457, allocations: 7.938 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5457, allocations: 1.156 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.5457, allocations: 12.59 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.401e-05/0.5458, allocations: 128.7 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.5459, allocations: 96.45 kB / 0.7209 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.5459, allocations: 30.81 kB / 0.721 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.546, allocations: 5.391 kB / 0.721 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.546, allocations: 43.44 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.546, allocations: 5.25 kB / 0.721 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001316/0.5462, allocations: 74.2 kB / 0.7211 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.5462, allocations: 158.2 kB / 0.7213 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.283e-05/0.5462, allocations: 89.86 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.5462, allocations: 27.7 kB / 0.7214 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-06/0.5462, allocations: 80.14 kB / 0.7214 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.5463, allocations: 23.14 kB / 0.7215 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.5463, allocations: 15.94 kB / 0.7215 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.049e-05/0.5463, allocations: 317.3 kB / 0.7218 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.5463, allocations: 9.281 kB / 0.7218 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.5464, allocations: 31.72 kB / 0.7218 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.5464, allocations: 52.17 kB / 0.7219 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5464, allocations: 0 / 0.7219 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.565e-05/0.5465, allocations: 66.84 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5465, allocations: 6.328 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5465, allocations: 1.062 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5465, allocations: 2.312 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.5466, allocations: 13.16 kB / 0.722 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5466, allocations: 2.844 kB / 0.722 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.5466, allocations: 5.031 kB / 0.722 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5466, allocations: 3.688 kB / 0.722 GB, free: 21.2 MB / 0.6355 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 4.012e-05/0.5466, allocations: 115.1 kB / 0.7221 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.5466, allocations: 2.766 kB / 0.7221 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.5468, allocations: 112.9 kB / 0.7222 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5468, allocations: 5.969 kB / 0.7222 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5468, allocations: 1.562 kB / 0.7222 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5468, allocations: 6.562 kB / 0.7222 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.5468, allocations: 114.9 kB / 0.7223 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5468, allocations: 5.25 kB / 0.7223 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.5469, allocations: 19.5 kB / 0.7223 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5469, allocations: 1.094 kB / 0.7223 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5469, allocations: 2.922 kB / 0.7223 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5469, allocations: 2.812 kB / 0.7223 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5469, allocations: 8.969 kB / 0.7223 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.547, allocations: 125.7 kB / 0.7225 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.547, allocations: 13.06 kB / 0.7225 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.547, allocations: 2.156 kB / 0.7225 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.547, allocations: 6.234 kB / 0.7225 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.547, allocations: 10.55 kB / 0.7225 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.547, allocations: 8.438 kB / 0.7225 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.624e-06/0.5471, allocations: 75.28 kB / 0.7226 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5471, allocations: 0 / 0.7226 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001344/0.5472, allocations: 10.7 kB / 0.7226 GB, free: 20.64 MB / 0.6355 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.0001186/0.5473, allocations: 97.08 kB / 0.7227 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.5474, allocations: 35.34 kB / 0.7227 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5474, allocations: 0 / 0.7227 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.5474, allocations: 29.52 kB / 0.7227 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.5476, allocations: 8.469 kB / 0.7227 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.5478, allocations: 149.5 kB / 0.7229 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.5479, allocations: 63.36 kB / 0.723 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.5479, allocations: 15.27 kB / 0.723 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.5479, allocations: 13.45 kB / 0.723 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.5479, allocations: 0 / 0.723 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.002602/0.5505, allocations: 0.546 MB / 0.7235 GB, free: 20.19 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3650840379996225] Failed to read output from testmodel.py, exit status != 0: 0.5579443069873378 0.5687098180000001 0.021453301 Calling exit ...