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.0007983/0.0007983, allocations: 76.45 kB / 19.91 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.0007772/0.0007772, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8343/0.8343, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-531:686: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-531:694: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.6719/0.6719, allocations: 154.7 MB / 414.7 MB, free: 0.7227 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: 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.00128/0.00128, allocations: 69.09 kB / 0.6196 GB, free: 13.03 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4008, allocations: 102 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001223/0.402, allocations: 0.6 MB / 0.7198 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002347/0.4022, allocations: 69.41 kB / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.4023, allocations: 0 / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.4023, allocations: 0 / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.035e-06/0.4023, allocations: 0 / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.4025, allocations: 20.81 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.4026, allocations: 11.7 kB / 0.7199 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.4026, allocations: 10.08 kB / 0.7199 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.4026, allocations: 10.72 kB / 0.7199 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.4027, allocations: 9.219 kB / 0.7199 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.4027, allocations: 1.125 kB / 0.7199 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.4028, allocations: 11.56 kB / 0.7199 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4028, allocations: 9.875 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.4028, allocations: 3.594 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.231e-05/0.4029, allocations: 24.59 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4029, allocations: 1.25 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4029, allocations: 3.938 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4029, allocations: 0.75 kB / 0.7199 GB, free: 23.21 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.0002504/0.4031, allocations: 256.2 kB / 0.7202 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4032, allocations: 9.156 kB / 0.7202 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.4032, allocations: 7.234 kB / 0.7202 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.941e-05/0.4033, allocations: 112.2 kB / 0.7203 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4033, allocations: 1.594 kB / 0.7203 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.4033, allocations: 2.906 kB / 0.7203 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.4034, allocations: 73.22 kB / 0.7204 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4034, allocations: 192 / 0.7204 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.4034, allocations: 5.219 kB / 0.7204 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4034, allocations: 5.812 kB / 0.7204 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.4034, allocations: 16.3 kB / 0.7204 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.812e-05/0.4035, allocations: 124.4 kB / 0.7205 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.4036, allocations: 99.7 kB / 0.7206 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.4036, allocations: 32.02 kB / 0.7207 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.4037, allocations: 5.016 kB / 0.7207 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4037, allocations: 43.97 kB / 0.7207 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.4037, allocations: 0 / 0.7207 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001703/0.4039, allocations: 75.19 kB / 0.7208 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.404, allocations: 162.7 kB / 0.7209 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.504e-05/0.404, allocations: 90.66 kB / 0.721 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.404, allocations: 29.64 kB / 0.721 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-06/0.404, allocations: 81.77 kB / 0.7211 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.404, allocations: 14.75 kB / 0.7211 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.404, allocations: 19.97 kB / 0.7212 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.4041, allocations: 317 kB / 0.7215 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.4041, allocations: 4.406 kB / 0.7215 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.4041, allocations: 36.83 kB / 0.7215 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.4042, allocations: 55.62 kB / 0.7215 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4042, allocations: 0 / 0.7215 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.048e-05/0.4042, allocations: 58.62 kB / 0.7216 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4043, allocations: 5.75 kB / 0.7216 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4043, allocations: 2.156 kB / 0.7216 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4043, allocations: 5.406 kB / 0.7216 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.4044, allocations: 17.8 kB / 0.7216 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4044, allocations: 1.828 kB / 0.7216 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.4044, allocations: 10.41 kB / 0.7216 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4044, allocations: 4.359 kB / 0.7216 GB, free: 21.37 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.536e-05/0.4044, allocations: 114.8 kB / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.4044, allocations: 1.094 kB / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.4046, allocations: 106 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4046, allocations: 5.812 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4046, allocations: 1.453 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4046, allocations: 6.812 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.992e-05/0.4047, allocations: 114.3 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4047, allocations: 2.156 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.4047, allocations: 18.66 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4047, allocations: 6.203 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4047, allocations: 7.047 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4047, allocations: 1.125 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4047, allocations: 5.781 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4048, allocations: 122 kB / 0.7221 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.4049, allocations: 10.86 kB / 0.7221 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4049, allocations: 3.281 kB / 0.7222 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.4049, allocations: 6.125 kB / 0.7222 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.4049, allocations: 15.56 kB / 0.7222 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4049, allocations: 8.062 kB / 0.7222 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.414e-05/0.4049, allocations: 79.22 kB / 0.7223 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4049, allocations: 4 kB / 0.7223 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000145/0.4051, allocations: 10 kB / 0.7223 GB, free: 20.81 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.0001236/0.4052, allocations: 96.27 kB / 0.7224 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4053, allocations: 36.98 kB / 0.7224 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4053, allocations: 0 / 0.7224 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.4053, allocations: 25.95 kB / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.4055, allocations: 8.078 kB / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.4057, allocations: 175.3 kB / 0.7226 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.4058, allocations: 64.06 kB / 0.7227 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4058, allocations: 13.64 kB / 0.7227 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4058, allocations: 0 / 0.7227 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.002128/0.4079, allocations: 0.705 MB / 0.7234 GB, free: 20.38 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3209781460464] Failed to read output from testmodel.py, exit status != 0: 0.41472569294273853 0.42591550999999994 0.020624904000000003 Calling exit ...