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.00105/0.00105, allocations: 93.06 kB / 19.65 MB, free: 280 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.001223/0.001223, allocations: 165 kB / 23.01 MB, free: 1.555 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.9831/0.9831, allocations: 177.1 MB / 203.4 MB, free: 5.617 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-545:108: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-545:116: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.8434/0.8434, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.985e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001346/0.001376, allocations: 0.6075 MB / 0.521 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.001677, allocations: 61.2 kB / 0.521 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.001698, allocations: 0 / 0.521 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.001727, allocations: 4.438 kB / 0.521 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.725e-06/0.001734, allocations: 4.719 kB / 0.521 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.002031, allocations: 24.67 kB / 0.5211 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.002088, allocations: 5.219 kB / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.002136, allocations: 336 / 0.5211 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.002169, allocations: 15.92 kB / 0.5211 GB, free: 1.422 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.002222, allocations: 8.547 kB / 0.5211 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.002241, allocations: 9.719 kB / 0.5211 GB, free: 1.406 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.002322, allocations: 7.984 kB / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.00234, allocations: 4 kB / 0.5211 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002358, allocations: 0 / 0.5211 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002461, allocations: 23.95 kB / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.002463, allocations: 1.719 kB / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.002464, allocations: 0 / 0.5211 GB, free: 1.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.002469, allocations: 3.938 kB / 0.5212 GB, free: 1.367 MB / 490.7 MB 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.0003024/0.002771, allocations: 352.4 kB / 0.5215 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.002811, allocations: 9.5 kB / 0.5215 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.002849, allocations: 0.9375 kB / 0.5215 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.002907, allocations: 112.6 kB / 0.5216 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.002919, allocations: 4.375 kB / 0.5216 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.002932, allocations: 5.125 kB / 0.5216 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.003051, allocations: 84.62 kB / 0.5217 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.003062, allocations: 5.641 kB / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003071, allocations: 384 / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.00308, allocations: 4.375 kB / 0.5217 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.668e-05/0.003106, allocations: 21.2 kB / 0.5217 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.003233, allocations: 151.5 kB / 0.5219 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.003321, allocations: 139.5 kB / 0.522 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.003364, allocations: 47.09 kB / 0.522 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.003534, allocations: 7.312 kB / 0.5221 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.003559, allocations: 49.31 kB / 0.5221 GB, free: 172 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.003561, allocations: 0 / 0.5221 GB, free: 172 kB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001634/0.003724, allocations: 69.86 kB / 0.5222 GB, free: 96 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.003793, allocations: 158.2 kB / 0.5223 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.714e-05/0.00383, allocations: 146.8 kB / 0.5225 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.003841, allocations: 30.23 kB / 0.5225 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.003878, allocations: 127.4 kB / 0.5226 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.003918, allocations: 11.95 kB / 0.5226 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.003951, allocations: 28.25 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000466/0.004417, allocations: 496.1 kB / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.004437, allocations: 5.453 kB / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.004468, allocations: 50.44 kB / 0.5232 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.004532, allocations: 63.3 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004534, allocations: 2.719 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.734e-05/0.004612, allocations: 61.56 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.004626, allocations: 4 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.004633, allocations: 4 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.004651, allocations: 2.75 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.004734, allocations: 15.98 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.004744, allocations: 7.938 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.004764, allocations: 3.938 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.004772, allocations: 7.938 kB / 0.5233 GB, free: 14.77 MB / 0.4948 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 6.795e-05/0.00484, allocations: 152.6 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.004855, allocations: 11.95 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.005014, allocations: 103 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.005018, allocations: 4 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.005024, allocations: 4.594 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.005028, allocations: 0 / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.622e-05/0.005124, allocations: 130 kB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.005127, allocations: 4 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.005165, allocations: 12 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.005168, allocations: 2.438 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.005177, allocations: 7.984 kB / 0.5238 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.00518, allocations: 3.938 kB / 0.5238 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.005183, allocations: 4 kB / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.005313, allocations: 151 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.00532, allocations: 4 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.005333, allocations: 10.83 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.005348, allocations: 4 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.005369, allocations: 7.938 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.005374, allocations: 4 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.005406, allocations: 123.2 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005406, allocations: 0 / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001419/0.005548, allocations: 12 kB / 0.5241 GB, free: 13.96 MB / 0.4948 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.005678, allocations: 99.84 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.005778, allocations: 40.86 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005779, allocations: 3.906 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.005805, allocations: 35.61 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005917, allocations: 4 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.006168, allocations: 169 kB / 0.5244 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.00621, allocations: 55.36 kB / 0.5245 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.006239, allocations: 10.97 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.006264, allocations: 20.48 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.006264, allocations: 3.938 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.002343/0.008607, allocations: 0.5643 MB / 0.525 GB, free: 12.92 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9934563199058175]