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.0008247/0.0008247, allocations: 80.45 kB / 19.15 MB, free: 0.7773 MB / 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.0008173/0.0008173, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8788/0.8788, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7149/0.7149, allocations: 154.7 MB / 413.9 MB, free: 0.7305 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [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.001021/0.001021, allocations: 62.34 kB / 0.6184 GB, free: 13.52 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.4835/0.4845, allocations: 102 MB / 0.7179 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001359/0.4858, allocations: 0.6008 MB / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.4861, allocations: 62.72 kB / 0.7186 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.4861, allocations: 0 / 0.7186 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.4861, allocations: 0 / 0.7186 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.4861, allocations: 3.938 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.4864, allocations: 23.31 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.4865, allocations: 7.766 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.4865, allocations: 7.031 kB / 0.7186 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.4866, allocations: 17.5 kB / 0.7186 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.4866, allocations: 6 kB / 0.7187 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.4866, allocations: 0 / 0.7187 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.4867, allocations: 14.59 kB / 0.7187 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.4867, allocations: 9.109 kB / 0.7187 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.4867, allocations: 11.09 kB / 0.7187 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4869, allocations: 18.08 kB / 0.7187 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4869, allocations: 4.562 kB / 0.7187 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.497e-06/0.4869, allocations: 0 / 0.7187 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4869, allocations: 0 / 0.7187 GB, free: 22.86 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.0002912/0.4872, allocations: 256 kB / 0.719 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4872, allocations: 10.06 kB / 0.719 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.4872, allocations: 37.05 kB / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.4873, allocations: 2.344 kB / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.949e-05/0.4873, allocations: 108.5 kB / 0.7191 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4873, allocations: 1.812 kB / 0.7191 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4873, allocations: 2.219 kB / 0.7191 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4874, allocations: 81.19 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4875, allocations: 3.938 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4875, allocations: 1.344 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4875, allocations: 1.406 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.4875, allocations: 12.55 kB / 0.7192 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.4876, allocations: 154.1 kB / 0.7194 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.4877, allocations: 95.22 kB / 0.7194 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.4877, allocations: 35.41 kB / 0.7195 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.4879, allocations: 5.641 kB / 0.7195 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4879, allocations: 43.66 kB / 0.7195 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.4879, allocations: 0 / 0.7195 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.4881, allocations: 75.91 kB / 0.7196 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4881, allocations: 156.9 kB / 0.7197 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.344e-05/0.4881, allocations: 89.86 kB / 0.7198 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.4882, allocations: 26.89 kB / 0.7199 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.4882, allocations: 85.03 kB / 0.7199 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.4882, allocations: 20.91 kB / 0.72 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.4882, allocations: 19.83 kB / 0.72 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.413e-05/0.4883, allocations: 320.6 kB / 0.7203 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.4883, allocations: 4.484 kB / 0.7203 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.4883, allocations: 36.38 kB / 0.7203 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.4884, allocations: 46.36 kB / 0.7204 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4884, allocations: 1.281 kB / 0.7204 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.891e-05/0.4884, allocations: 70.47 kB / 0.7204 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4885, allocations: 5.922 kB / 0.7204 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4885, allocations: 5.344 kB / 0.7204 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4885, allocations: 6.5 kB / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.4885, allocations: 9.125 kB / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4886, allocations: 3.156 kB / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.4886, allocations: 5.406 kB / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4886, allocations: 3.234 kB / 0.7205 GB, free: 20.96 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.21e-05/0.4886, allocations: 115.6 kB / 0.7206 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4886, allocations: 6.109 kB / 0.7206 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.4888, allocations: 113.1 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4888, allocations: 2.906 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4888, allocations: 1.062 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4888, allocations: 1.938 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.07e-05/0.4889, allocations: 132.6 kB / 0.7208 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4889, allocations: 5.375 kB / 0.7208 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.4889, allocations: 15.44 kB / 0.7208 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4889, allocations: 6.172 kB / 0.7209 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.4889, allocations: 7.047 kB / 0.7209 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4889, allocations: 1.75 kB / 0.7209 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4889, allocations: 5.938 kB / 0.7209 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.217e-05/0.489, allocations: 121.6 kB / 0.721 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.489, allocations: 12.14 kB / 0.721 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.489, allocations: 9.375 kB / 0.721 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.4891, allocations: 6.125 kB / 0.721 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.4891, allocations: 11.12 kB / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.4891, allocations: 4.844 kB / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.277e-06/0.4891, allocations: 75.28 kB / 0.7211 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4891, allocations: 0 / 0.7211 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001468/0.4892, allocations: 10.39 kB / 0.7211 GB, free: 20.38 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.0002638/0.4895, allocations: 0.657 MB / 0.7217 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4896, allocations: 40.73 kB / 0.7218 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4896, allocations: 1.25 kB / 0.7218 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.4896, allocations: 24.19 kB / 0.7218 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.4898, allocations: 11.06 kB / 0.7218 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.4901, allocations: 183.8 kB / 0.722 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.4902, allocations: 63.61 kB / 0.7221 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.4902, allocations: 9.938 kB / 0.7221 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.4902, allocations: 18.75 kB / 0.7221 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4902, allocations: 0 / 0.7221 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.5054, allocations: 2.02 MB / 0.7241 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/7.129, allocations: 12.52 kB / 0.7241 GB, free: 18.52 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Round.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.905587275978178] Failed to read output from testmodel.py, exit status != 0: 7.2046807300066575 7.214261718 6.7253675710000005 Calling exit ...