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.0006846/0.0006846, 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.0007807/0.0007807, 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.9339/0.9339, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.743/0.743, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.0008738/0.0008738, allocations: 72.17 kB / 0.6196 GB, free: 13.06 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.5255/0.5264, allocations: 102 MB / 0.7192 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001235/0.5276, allocations: 0.6043 MB / 0.7198 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.5278, allocations: 61.22 kB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.5279, allocations: 0 / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.5279, allocations: 0 / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.5279, allocations: 0 / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.5281, allocations: 24.19 kB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.5282, allocations: 11.8 kB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.5282, allocations: 10.86 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.5283, allocations: 9.391 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.5283, allocations: 5.75 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.5283, allocations: 1 kB / 0.7199 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.5284, allocations: 15.88 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.5284, allocations: 10.56 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.5284, allocations: 2.047 kB / 0.7199 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.5285, allocations: 20.59 kB / 0.7199 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.5285, allocations: 4 kB / 0.7199 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5285, allocations: 0 / 0.7199 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5285, allocations: 0 / 0.7199 GB, free: 23.2 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.0002436/0.5287, allocations: 253.5 kB / 0.7202 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5288, allocations: 9.031 kB / 0.7202 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.5288, allocations: 6.469 kB / 0.7202 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.039e-05/0.5289, allocations: 113.5 kB / 0.7203 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.5289, allocations: 384 / 0.7203 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5289, allocations: 3.406 kB / 0.7203 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.529, allocations: 69.53 kB / 0.7204 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.529, allocations: 8.125 kB / 0.7204 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.529, allocations: 9.203 kB / 0.7204 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.529, allocations: 5.188 kB / 0.7204 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.529, allocations: 16.53 kB / 0.7204 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.972e-05/0.5291, allocations: 128.4 kB / 0.7205 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.5292, allocations: 95.81 kB / 0.7206 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.5292, allocations: 34.91 kB / 0.7206 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.5293, allocations: 6.531 kB / 0.7206 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.5294, allocations: 38.53 kB / 0.7207 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.5294, allocations: 5.125 kB / 0.7207 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.5295, allocations: 71.89 kB / 0.7208 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.5296, allocations: 164.9 kB / 0.7209 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.351e-05/0.5296, allocations: 89.86 kB / 0.721 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-06/0.5296, allocations: 27.2 kB / 0.721 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-06/0.5296, allocations: 81.17 kB / 0.7211 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.5296, allocations: 15.42 kB / 0.7211 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.5297, allocations: 20.03 kB / 0.7211 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.5297, allocations: 320.7 kB / 0.7214 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.5297, allocations: 5.109 kB / 0.7214 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.5297, allocations: 31.95 kB / 0.7215 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.5298, allocations: 55.31 kB / 0.7215 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5298, allocations: 0.9688 kB / 0.7215 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.476e-05/0.5298, allocations: 66.11 kB / 0.7216 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5299, allocations: 5.875 kB / 0.7216 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5299, allocations: 5.594 kB / 0.7216 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5299, allocations: 2.125 kB / 0.7216 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.5299, allocations: 13.52 kB / 0.7216 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5299, allocations: 6.969 kB / 0.7216 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.53, allocations: 5.219 kB / 0.7216 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.53, allocations: 3.906 kB / 0.7216 GB, free: 21.35 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 3.743e-05/0.53, allocations: 113.5 kB / 0.7217 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.53, allocations: 3 kB / 0.7217 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.5301, allocations: 105.6 kB / 0.7218 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5302, allocations: 6.891 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5302, allocations: 1.281 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5302, allocations: 1.859 kB / 0.7219 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.5302, allocations: 111.1 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5302, allocations: 5.25 kB / 0.722 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.5303, allocations: 18.38 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5303, allocations: 2.672 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.5303, allocations: 3.312 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5303, allocations: 6.219 kB / 0.722 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5303, allocations: 9.344 kB / 0.722 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.21e-05/0.5304, allocations: 120.9 kB / 0.7221 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.5304, allocations: 12 kB / 0.7221 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5304, allocations: 3.703 kB / 0.7221 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.5304, allocations: 5.5 kB / 0.7221 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.5304, allocations: 14.97 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.5304, allocations: 4.188 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.207e-06/0.5304, allocations: 75.28 kB / 0.7222 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5304, allocations: 0 / 0.7222 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001396/0.5306, allocations: 14.42 kB / 0.7222 GB, free: 20.8 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.0001166/0.5307, allocations: 100.5 kB / 0.7223 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.36e-05/0.5308, allocations: 31.84 kB / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5308, allocations: 320 / 0.7224 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.5308, allocations: 30.5 kB / 0.7224 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.5309, allocations: 7.156 kB / 0.7224 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.5312, allocations: 150.7 kB / 0.7226 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.5312, allocations: 66.86 kB / 0.7226 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.5313, allocations: 10.25 kB / 0.7226 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.5313, allocations: 13.64 kB / 0.7226 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.5313, allocations: 0 / 0.7226 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.002634/0.5339, allocations: 0.5478 MB / 0.7232 GB, free: 20.35 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.416750234900974] Failed to read output from testmodel.py, exit status != 0: 0.5410691549768671 0.555320226 0.024087625 Calling exit ...