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.0008395/0.0008395, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008149/0.0008149, allocations: 162 kB / 22.43 MB, free: 2.141 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.9022/0.9022, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7624/0.7624, allocations: 154.9 MB / 414.2 MB, free: 0.5078 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IDEAS_dev_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.001162/0.001162, allocations: 73.3 kB / 0.6187 GB, free: 13.27 MB / 0.5886 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.5002/0.5013, allocations: 102 MB / 0.7183 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001496/0.5028, allocations: 0.5958 MB / 0.7188 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.5031, allocations: 58.88 kB / 0.7189 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.5031, allocations: 0 / 0.7189 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.5031, allocations: 3.938 kB / 0.7189 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.604e-06/0.5031, allocations: 0 / 0.7189 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.5034, allocations: 28.03 kB / 0.7189 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.5035, allocations: 7.219 kB / 0.7189 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.5035, allocations: 6.641 kB / 0.7189 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.5036, allocations: 18.59 kB / 0.719 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.5036, allocations: 4.688 kB / 0.719 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.5036, allocations: 5 kB / 0.719 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-05/0.5037, allocations: 10.38 kB / 0.719 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.5037, allocations: 1.812 kB / 0.719 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.5037, allocations: 13.47 kB / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/0.5038, allocations: 19.72 kB / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5038, allocations: 0 / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5038, allocations: 0 / 0.719 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5038, allocations: 0 / 0.719 GB, free: 22.55 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.0002672/0.5041, allocations: 259.3 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5041, allocations: 12.55 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.5042, allocations: 36.58 kB / 0.7193 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.5042, allocations: 5.875 kB / 0.7193 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.974e-05/0.5042, allocations: 104.3 kB / 0.7194 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.5042, allocations: 1.562 kB / 0.7194 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.5043, allocations: 2.5 kB / 0.7194 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5044, allocations: 81.28 kB / 0.7195 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5044, allocations: 4.594 kB / 0.7195 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5044, allocations: 5.375 kB / 0.7195 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5044, allocations: 1.25 kB / 0.7195 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.5044, allocations: 11.8 kB / 0.7195 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.5045, allocations: 154.6 kB / 0.7197 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.5046, allocations: 95.92 kB / 0.7198 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.5046, allocations: 35.08 kB / 0.7198 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5048, allocations: 5.094 kB / 0.7198 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.5048, allocations: 43.88 kB / 0.7198 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5048, allocations: 0 / 0.7198 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001787/0.505, allocations: 75.25 kB / 0.7199 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.505, allocations: 157.7 kB / 0.7201 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.333e-05/0.505, allocations: 90.7 kB / 0.7201 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.505, allocations: 30.86 kB / 0.7202 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-06/0.5051, allocations: 84.08 kB / 0.7203 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.5051, allocations: 24.38 kB / 0.7203 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5051, allocations: 22.86 kB / 0.7203 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.5052, allocations: 313.7 kB / 0.7206 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.5052, allocations: 5.141 kB / 0.7206 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.5052, allocations: 36.64 kB / 0.7206 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.5053, allocations: 45.58 kB / 0.7207 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5053, allocations: 1.656 kB / 0.7207 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.005e-05/0.5053, allocations: 70.95 kB / 0.7208 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5054, allocations: 6.031 kB / 0.7208 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5054, allocations: 9.141 kB / 0.7208 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5054, allocations: 2.609 kB / 0.7208 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.5055, allocations: 8.953 kB / 0.7208 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5055, allocations: 2.156 kB / 0.7208 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.5055, allocations: 1.609 kB / 0.7208 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.5055, allocations: 4.109 kB / 0.7208 GB, free: 20.63 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 5.288e-05/0.5056, allocations: 118.8 kB / 0.7209 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.5056, allocations: 10.39 kB / 0.7209 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.5057, allocations: 104.3 kB / 0.721 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5057, allocations: 7.406 kB / 0.721 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5057, allocations: 1.922 kB / 0.721 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5057, allocations: 1.953 kB / 0.721 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.948e-05/0.5058, allocations: 136.5 kB / 0.7211 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5058, allocations: 1.797 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.5058, allocations: 14.11 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5059, allocations: 2.281 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.5059, allocations: 7.109 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5059, allocations: 1.797 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5059, allocations: 5.969 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.506, allocations: 121.2 kB / 0.7213 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.506, allocations: 12.53 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.506, allocations: 6.891 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.506, allocations: 9.156 kB / 0.7213 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.506, allocations: 7.75 kB / 0.7213 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.506, allocations: 3.062 kB / 0.7213 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.367e-06/0.506, allocations: 76.84 kB / 0.7214 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.506, allocations: 96 / 0.7214 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001387/0.5062, allocations: 10.44 kB / 0.7214 GB, free: 20.05 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.0002383/0.5064, allocations: 0.6648 MB / 0.7221 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.5065, allocations: 36.42 kB / 0.7221 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5065, allocations: 0 / 0.7221 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.5065, allocations: 24.94 kB / 0.7221 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.5066, allocations: 4.078 kB / 0.7221 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.5069, allocations: 183.7 kB / 0.7223 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.507, allocations: 63 kB / 0.7224 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.507, allocations: 15.14 kB / 0.7224 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.507, allocations: 17.72 kB / 0.7224 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.507, allocations: 0.9688 kB / 0.7224 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.5227, allocations: 2.035 MB / 0.7244 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/7.088, allocations: 13.19 kB / 0.7244 GB, free: 18.19 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_Round.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.016006162040867] Failed to read output from testmodel.py, exit status != 0: 7.167255025007762 7.17802279 6.672159882 Calling exit ...