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.001401/0.001401, allocations: 82.64 kB / 19.16 MB, free: 2.539 MB / 14.72 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.001509/0.001509, allocations: 169 kB / 22.44 MB, free: 5.352 MB / 14.72 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.406/1.406, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.201/1.201, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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 178] 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.002032/0.002032, allocations: 79.42 kB / 0.6192 GB, free: 4.117 MB / 0.5294 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.6384/0.6404, allocations: 102 MB / 0.7188 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.002068/0.6425, allocations: 0.6073 MB / 0.7194 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.6428, allocations: 56.23 kB / 0.7194 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.6428, allocations: 0 / 0.7194 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.6428, allocations: 3.938 kB / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.6428, allocations: 0 / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.6431, allocations: 26.66 kB / 0.7195 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.6431, allocations: 5.422 kB / 0.7195 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.6432, allocations: 2.625 kB / 0.7195 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.6432, allocations: 10.39 kB / 0.7195 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.6433, allocations: 12.25 kB / 0.7195 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.6433, allocations: 5.312 kB / 0.7195 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.6434, allocations: 11.81 kB / 0.7195 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.6434, allocations: 6.234 kB / 0.7195 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.6434, allocations: 6.078 kB / 0.7195 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.6435, allocations: 22.38 kB / 0.7195 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6435, allocations: 0 / 0.7195 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6435, allocations: 0 / 0.7195 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.6435, allocations: 1.469 kB / 0.7196 GB, free: 1.312 MB / 0.6075 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.000372/0.6439, allocations: 256.4 kB / 0.7198 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6439, allocations: 10.78 kB / 0.7198 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.644, allocations: 6.281 kB / 0.7198 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.864e-05/0.644, allocations: 109.2 kB / 0.7199 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.644, allocations: 5.469 kB / 0.7199 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.6441, allocations: 1.594 kB / 0.7199 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.6442, allocations: 78.25 kB / 0.72 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6442, allocations: 192 / 0.72 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6442, allocations: 6.078 kB / 0.72 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6442, allocations: 0 / 0.72 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.6443, allocations: 12.77 kB / 0.72 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.6444, allocations: 128.4 kB / 0.7201 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.6445, allocations: 99.78 kB / 0.7202 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.6445, allocations: 31.33 kB / 0.7203 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.6447, allocations: 18.36 kB / 0.7203 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.6447, allocations: 38.91 kB / 0.7203 GB, free: 440 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.6447, allocations: 0 / 0.7203 GB, free: 440 kB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002252/0.6449, allocations: 75.98 kB / 0.7204 GB, free: 388 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.645, allocations: 162.4 kB / 0.7205 GB, free: 192 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.85e-05/0.645, allocations: 93.86 kB / 0.7206 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.645, allocations: 25.7 kB / 0.7207 GB, free: 56 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.6451, allocations: 81.45 kB / 0.7207 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.6451, allocations: 24.14 kB / 0.7208 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.6452, allocations: 15.41 kB / 0.7208 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6453, allocations: 317.2 kB / 0.7211 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.6453, allocations: 4.984 kB / 0.7211 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.6454, allocations: 36.55 kB / 0.7211 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.6455, allocations: 50.59 kB / 0.7212 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6455, allocations: 128 / 0.7212 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.6456, allocations: 66.8 kB / 0.7212 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6457, allocations: 6.125 kB / 0.7212 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6457, allocations: 2.625 kB / 0.7212 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6457, allocations: 1.281 kB / 0.7212 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.6458, allocations: 13.41 kB / 0.7213 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6458, allocations: 7 kB / 0.7213 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.6458, allocations: 6.406 kB / 0.7213 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.6459, allocations: 6.094 kB / 0.7213 GB, free: 15.46 MB / 0.6231 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 9.62e-05/0.646, allocations: 114.9 kB / 0.7214 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.646, allocations: 3.141 kB / 0.7214 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.6462, allocations: 100.9 kB / 0.7215 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6462, allocations: 13.92 kB / 0.7215 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6463, allocations: 2.719 kB / 0.7215 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6463, allocations: 2.109 kB / 0.7215 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.6464, allocations: 109.2 kB / 0.7216 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6464, allocations: 2 kB / 0.7216 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.6465, allocations: 15.22 kB / 0.7216 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6465, allocations: 5.531 kB / 0.7216 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6465, allocations: 7.109 kB / 0.7216 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6465, allocations: 5.938 kB / 0.7216 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6465, allocations: 4.938 kB / 0.7216 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.6468, allocations: 126.9 kB / 0.7218 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.6468, allocations: 14.94 kB / 0.7218 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.6469, allocations: 7.141 kB / 0.7218 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.6469, allocations: 1.562 kB / 0.7218 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.6469, allocations: 11.38 kB / 0.7218 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.647, allocations: 4.297 kB / 0.7218 GB, free: 15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.647, allocations: 75.28 kB / 0.7219 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.647, allocations: 1.219 kB / 0.7219 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003528/0.6474, allocations: 9.875 kB / 0.7219 GB, free: 14.92 MB / 0.6231 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.0001833/0.6475, allocations: 104.5 kB / 0.722 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.6477, allocations: 31.52 kB / 0.722 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6477, allocations: 4 kB / 0.722 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.6477, allocations: 22.03 kB / 0.722 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.648, allocations: 9.703 kB / 0.722 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.6484, allocations: 148.1 kB / 0.7222 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.922e-05/0.6484, allocations: 68.25 kB / 0.7223 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.6485, allocations: 5.484 kB / 0.7223 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.6485, allocations: 17.05 kB / 0.7223 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.6485, allocations: 1.875 kB / 0.7223 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.003572/0.6521, allocations: 0.551 MB / 0.7228 GB, free: 14.46 MB / 0.6231 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2393567729741335] Failed to read output from testmodel.py, exit status != 0: 0.6623296681791544 0.684424957 0.036553922 Calling exit ...