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.0009998/0.0009998, allocations: 76.45 kB / 19.9 MB, free: 16 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.001311/0.001311, allocations: 169.8 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.9176/0.9176, 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.7663/0.7663, allocations: 154.9 MB / 414.9 MB, free: 0.5 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.0009462/0.0009462, allocations: 63.91 kB / 0.6199 GB, free: 12.66 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.508/0.5089, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001609/0.5105, allocations: 0.5935 MB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.5108, allocations: 60.73 kB / 0.7201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.5108, allocations: 3.938 kB / 0.7201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.5108, allocations: 0 / 0.7201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-06/0.5108, allocations: 3.938 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.5111, allocations: 16.66 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.5112, allocations: 11.64 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.5112, allocations: 6.812 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.5113, allocations: 9.797 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.5113, allocations: 13.59 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.5113, allocations: 1.469 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.5114, allocations: 10.39 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.5115, allocations: 10.88 kB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.5115, allocations: 3.344 kB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.5116, allocations: 23.03 kB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5116, allocations: 0.6094 kB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5116, allocations: 1.031 kB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5116, allocations: 0 / 0.7203 GB, free: 23.02 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.0003543/0.512, allocations: 255.9 kB / 0.7205 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.512, allocations: 15.31 kB / 0.7205 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.512, allocations: 7.156 kB / 0.7205 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.129e-05/0.5121, allocations: 112.8 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5121, allocations: 4.375 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5121, allocations: 2.281 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5122, allocations: 73.78 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5123, allocations: 1.219 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5123, allocations: 4.453 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5123, allocations: 5.094 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.5123, allocations: 16.84 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.5124, allocations: 128.7 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.5125, allocations: 96 kB / 0.7209 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.5125, allocations: 34.66 kB / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.5127, allocations: 7.062 kB / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5128, allocations: 43.19 kB / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.215e-06/0.5128, allocations: 0 / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002189/0.513, allocations: 71.64 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.513, allocations: 157.2 kB / 0.7212 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.904e-05/0.5131, allocations: 98.66 kB / 0.7213 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.5131, allocations: 26.8 kB / 0.7214 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.838e-06/0.5131, allocations: 81.27 kB / 0.7214 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.5131, allocations: 15.47 kB / 0.7215 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.5132, allocations: 18.61 kB / 0.7215 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.5132, allocations: 313.2 kB / 0.7218 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.5132, allocations: 12.7 kB / 0.7218 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.5133, allocations: 36.95 kB / 0.7218 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.5133, allocations: 55.14 kB / 0.7219 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5133, allocations: 0.6094 kB / 0.7219 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.117e-05/0.5134, allocations: 58.73 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5134, allocations: 6.25 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5134, allocations: 1.125 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5134, allocations: 2.344 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.5135, allocations: 17.84 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5135, allocations: 5.812 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.5135, allocations: 5.094 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5136, allocations: 4.266 kB / 0.722 GB, free: 21.18 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.883e-05/0.5136, allocations: 118.2 kB / 0.7221 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.5136, allocations: 1.156 kB / 0.7221 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.5138, allocations: 109.7 kB / 0.7222 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5138, allocations: 6.406 kB / 0.7222 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5138, allocations: 5.219 kB / 0.7222 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5138, allocations: 3.25 kB / 0.7222 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.586e-05/0.5139, allocations: 113.7 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5139, allocations: 5.188 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.5139, allocations: 15.88 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.5139, allocations: 2.25 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5139, allocations: 2.953 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5139, allocations: 1.094 kB / 0.7223 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5139, allocations: 10 kB / 0.7223 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.514, allocations: 122.5 kB / 0.7225 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.514, allocations: 10.39 kB / 0.7225 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.514, allocations: 3.266 kB / 0.7225 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.514, allocations: 2.031 kB / 0.7225 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.5141, allocations: 18.61 kB / 0.7225 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.5141, allocations: 4.25 kB / 0.7225 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.989e-06/0.5141, allocations: 76.53 kB / 0.7226 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5141, allocations: 0 / 0.7226 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001422/0.5142, allocations: 7.062 kB / 0.7226 GB, free: 20.63 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.0001305/0.5144, allocations: 103.6 kB / 0.7227 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.5145, allocations: 39.09 kB / 0.7227 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5145, allocations: 1.094 kB / 0.7227 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.5145, allocations: 24.88 kB / 0.7227 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.5146, allocations: 3.781 kB / 0.7227 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.5148, allocations: 155.2 kB / 0.7229 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.5149, allocations: 67.31 kB / 0.723 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.5149, allocations: 9.797 kB / 0.723 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.5149, allocations: 13.55 kB / 0.723 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.5149, allocations: 0 / 0.723 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.002188/0.5171, allocations: 0.545 MB / 0.7235 GB, free: 20.17 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.39403464901261] Failed to read output from testmodel.py, exit status != 0: 0.523792985943146 0.53132704 0.017992686 Calling exit ...