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.001222/0.001222, 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.001489/0.001489, 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.9456/0.9456, 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.7458/0.7458, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.001103/0.001103, allocations: 74.08 kB / 0.6196 GB, free: 11.98 MB / 0.5417 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.5135/0.5146, allocations: 102 MB / 0.7192 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001521/0.5161, allocations: 0.5972 MB / 0.7198 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.5164, allocations: 58.75 kB / 0.7198 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.5164, allocations: 0 / 0.7198 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.5164, allocations: 3.938 kB / 0.7198 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.5164, allocations: 0 / 0.7198 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.5167, allocations: 23.91 kB / 0.7198 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.5167, allocations: 15.94 kB / 0.7198 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.5168, allocations: 4 kB / 0.7199 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.5168, allocations: 7.984 kB / 0.7199 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.5168, allocations: 7.984 kB / 0.7199 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.5169, allocations: 0 / 0.7199 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.5169, allocations: 18.23 kB / 0.7199 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.517, allocations: 3.938 kB / 0.7199 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.517, allocations: 8 kB / 0.7199 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.711e-05/0.5171, allocations: 27.89 kB / 0.7199 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5171, allocations: 0 / 0.7199 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5171, allocations: 0 / 0.7199 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5171, allocations: 4 kB / 0.7199 GB, free: 12.9 MB / 0.6042 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.0003059/0.5174, allocations: 254.4 kB / 0.7202 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5174, allocations: 12.03 kB / 0.7202 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.5175, allocations: 0.9375 kB / 0.7202 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.891e-05/0.5175, allocations: 110.4 kB / 0.7203 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5175, allocations: 8.359 kB / 0.7203 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.5175, allocations: 384 / 0.7203 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5177, allocations: 78.47 kB / 0.7204 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5177, allocations: 4.188 kB / 0.7204 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5177, allocations: 3.938 kB / 0.7204 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5177, allocations: 4 kB / 0.7204 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.5177, allocations: 11.94 kB / 0.7204 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.5178, allocations: 128.8 kB / 0.7205 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.5179, allocations: 97.14 kB / 0.7206 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.5179, allocations: 28.36 kB / 0.7206 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.5181, allocations: 11.98 kB / 0.7206 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5181, allocations: 38.5 kB / 0.7207 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.5181, allocations: 0 / 0.7207 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001768/0.5183, allocations: 81.86 kB / 0.7208 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.5184, allocations: 158.2 kB / 0.7209 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.769e-05/0.5184, allocations: 93.86 kB / 0.721 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.5184, allocations: 25.7 kB / 0.721 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.893e-05/0.5184, allocations: 80.14 kB / 0.7211 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.5184, allocations: 15.86 kB / 0.7211 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5185, allocations: 21.7 kB / 0.7211 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.5186, allocations: 314.8 kB / 0.7214 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.5186, allocations: 4 kB / 0.7214 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.5186, allocations: 36.53 kB / 0.7215 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.5187, allocations: 52.23 kB / 0.7215 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5187, allocations: 0 / 0.7215 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.971e-05/0.5187, allocations: 65.67 kB / 0.7216 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5188, allocations: 4 kB / 0.7216 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5188, allocations: 12.09 kB / 0.7216 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5188, allocations: 4 kB / 0.7216 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.5188, allocations: 11.94 kB / 0.7216 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5189, allocations: 0 / 0.7216 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.5189, allocations: 11.94 kB / 0.7216 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.5189, allocations: 3.984 kB / 0.7216 GB, free: 10.84 MB / 0.6042 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.076e-05/0.5189, allocations: 114.8 kB / 0.7217 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.5189, allocations: 4 kB / 0.7217 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.5191, allocations: 104.5 kB / 0.7218 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5191, allocations: 7.938 kB / 0.7219 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5191, allocations: 0 / 0.7219 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5191, allocations: 0 / 0.7219 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.381e-05/0.5192, allocations: 113.3 kB / 0.722 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5192, allocations: 4 kB / 0.722 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.5192, allocations: 19.92 kB / 0.722 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5192, allocations: 0 / 0.722 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.5192, allocations: 8.156 kB / 0.722 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5192, allocations: 7.938 kB / 0.722 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5192, allocations: 7.938 kB / 0.722 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.5193, allocations: 116.5 kB / 0.7221 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-06/0.5194, allocations: 11.89 kB / 0.7221 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.5194, allocations: 12 kB / 0.7221 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.5194, allocations: 0 / 0.7221 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.5194, allocations: 11.92 kB / 0.7222 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5194, allocations: 4 kB / 0.7222 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.5194, allocations: 75.28 kB / 0.7222 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.5194, allocations: 4 kB / 0.7222 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001353/0.5196, allocations: 12 kB / 0.7222 GB, free: 10.14 MB / 0.6042 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.0001392/0.5197, allocations: 103.2 kB / 0.7223 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.5198, allocations: 35.92 kB / 0.7224 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5198, allocations: 0 / 0.7224 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.5198, allocations: 15.94 kB / 0.7224 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.5199, allocations: 8.625 kB / 0.7224 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.5202, allocations: 158.6 kB / 0.7226 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.5202, allocations: 67.28 kB / 0.7226 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.5202, allocations: 4 kB / 0.7226 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.5203, allocations: 16.5 kB / 0.7226 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.5203, allocations: 4 kB / 0.7226 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of Templates: time 0.002233/0.5225, allocations: 0.5394 MB / 0.7232 GB, free: 9.133 MB / 0.6042 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.292893017991446] Failed to read output from testmodel.py, exit status != 0: 0.5302634859690443 0.542554557 0.022930809 Calling exit ...