Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.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.0008372/0.0008372, 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.0008735/0.0008735, allocations: 162 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.9088/0.9088, allocations: 177.2 MB / 202.8 MB, free: 5.789 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.703/0.703, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_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.000952/0.000952, allocations: 63.25 kB / 0.6184 GB, free: 13.55 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.451/0.4519, allocations: 102 MB / 0.7179 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001439/0.4533, allocations: 0.731 MB / 0.7187 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.4541, allocations: 0.8676 MB / 0.7195 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.4542, allocations: 1.406 kB / 0.7195 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.4542, allocations: 5.203 kB / 0.7195 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.4543, allocations: 9.828 kB / 0.7195 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.4544, allocations: 33.52 kB / 0.7196 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.4545, allocations: 73.98 kB / 0.7196 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4546, allocations: 12.67 kB / 0.7196 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.4547, allocations: 46.59 kB / 0.7197 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.4548, allocations: 40.39 kB / 0.7197 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.4548, allocations: 5.688 kB / 0.7197 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.4548, allocations: 6.875 kB / 0.7197 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.4548, allocations: 18.56 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.4549, allocations: 29.23 kB / 0.7198 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.455, allocations: 81.14 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.455, allocations: 2.047 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.455, allocations: 4 kB / 0.7199 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.455, allocations: 0 / 0.7199 GB, free: 21.9 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003835/0.4554, allocations: 300.6 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4554, allocations: 11.11 kB / 0.7202 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.4555, allocations: 37.28 kB / 0.7202 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.4555, allocations: 9.016 kB / 0.7202 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.4556, allocations: 125.3 kB / 0.7203 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4556, allocations: 11.81 kB / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4556, allocations: 2.938 kB / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4557, allocations: 83.17 kB / 0.7204 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4558, allocations: 7.922 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4558, allocations: 5.5 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4558, allocations: 1.469 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.4559, allocations: 61.61 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.4562, allocations: 280.7 kB / 0.7208 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4564, allocations: 86.88 kB / 0.7208 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.4565, allocations: 36 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4565, allocations: 1.156 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.4565, allocations: 36.78 kB / 0.7209 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.4565, allocations: 0 / 0.7209 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003192/0.4568, allocations: 136.6 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.4569, allocations: 53.19 kB / 0.7211 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.4569, allocations: 123.4 kB / 0.7212 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.4569, allocations: 30.73 kB / 0.7212 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.457, allocations: 92.53 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.457, allocations: 20.14 kB / 0.7213 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.457, allocations: 24.5 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.4571, allocations: 323.6 kB / 0.7217 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.4571, allocations: 27.08 kB / 0.7217 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.4572, allocations: 35.55 kB / 0.7217 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4573, allocations: 73.44 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4573, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001696/0.4575, allocations: 107 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4575, allocations: 5.906 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4575, allocations: 0 / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4575, allocations: 1.188 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.4576, allocations: 16.41 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4576, allocations: 0 / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.4577, allocations: 15.31 kB / 0.7219 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.4577, allocations: 1.734 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.242e-05/0.4577, allocations: 123.3 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.4577, allocations: 7.734 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.4578, allocations: 10.05 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4578, allocations: 1.953 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4578, allocations: 0 / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4578, allocations: 1.859 kB / 0.7221 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.4579, allocations: 157.4 kB / 0.7222 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4579, allocations: 0 / 0.7222 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.458, allocations: 21.23 kB / 0.7223 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.458, allocations: 0 / 0.7223 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.458, allocations: 5.812 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.458, allocations: 1.094 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.458, allocations: 0.7969 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4582, allocations: 211.5 kB / 0.7225 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.4582, allocations: 7.094 kB / 0.7225 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4582, allocations: 0.6094 kB / 0.7225 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.4582, allocations: 11.73 kB / 0.7225 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.4583, allocations: 13.3 kB / 0.7225 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4583, allocations: 1.891 kB / 0.7225 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.4583, allocations: 100.9 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4583, allocations: 0 / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00015/0.4585, allocations: 10.7 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0003103/0.4588, allocations: 0.7331 MB / 0.7233 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.459, allocations: 77.98 kB / 0.7234 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.459, allocations: 0 / 0.7234 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.4591, allocations: 39.23 kB / 0.7234 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.4593, allocations: 9.922 kB / 0.7234 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.4603, allocations: 1.454 MB / 0.7249 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.4604, allocations: 72.84 kB / 0.7249 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.4604, allocations: 8.906 kB / 0.7249 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.4605, allocations: 29.67 kB / 0.725 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4605, allocations: 0 / 0.725 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.4783, allocations: 3.07 MB / 0.728 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/7.099, allocations: 11.31 kB / 0.728 GB, free: 16.52 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Round.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.847102237050422] Failed to read output from testmodel.py, exit status != 0: 7.177729576011188 7.187446737 6.730605288 Calling exit ...