Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0009598/0.0009598, 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.00102/0.00102, allocations: 166 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.8762/0.8762, 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 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.706/0.706, allocations: 154.7 MB / 413.9 MB, free: 0.7461 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.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.00104/0.00104, allocations: 65.34 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.4492/0.4502, allocations: 102 MB / 0.718 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001302/0.4515, allocations: 0.6715 MB / 0.7186 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.4522, allocations: 0.833 MB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.4522, allocations: 0 / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.4523, allocations: 3.938 kB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.4523, allocations: 6.047 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.026e-05/0.4524, allocations: 15.53 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.4525, allocations: 42.08 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4526, allocations: 16.45 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.4526, allocations: 24.88 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.4527, allocations: 18.47 kB / 0.7195 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4527, allocations: 7.844 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.4527, allocations: 3.938 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.4527, allocations: 15.19 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.4527, allocations: 12.84 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.89e-05/0.4528, allocations: 42.11 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4528, allocations: 0.5625 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4528, allocations: 1.125 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4528, allocations: 0 / 0.7196 GB, free: 22.14 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.0003163/0.4532, allocations: 291.9 kB / 0.7199 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4532, allocations: 17.69 kB / 0.7199 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.167e-05/0.4532, allocations: 33.19 kB / 0.72 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.874e-05/0.4532, allocations: 6.078 kB / 0.72 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.769e-05/0.4533, allocations: 116.1 kB / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4533, allocations: 1.406 kB / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.4533, allocations: 1.438 kB / 0.7201 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4535, allocations: 73.52 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.4535, allocations: 3.938 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.4535, allocations: 0 / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4535, allocations: 9.125 kB / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4536, allocations: 63.16 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.4539, allocations: 239 kB / 0.7204 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.454, allocations: 55.53 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.4541, allocations: 42.97 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.4541, allocations: 1.219 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.4541, allocations: 32.45 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.4541, allocations: 0 / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002949/0.4544, allocations: 127.9 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.4544, allocations: 57.31 kB / 0.7207 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.4545, allocations: 116 kB / 0.7209 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.4545, allocations: 25.7 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.4545, allocations: 86.86 kB / 0.721 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.4545, allocations: 14.22 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.4545, allocations: 13.67 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.739e-05/0.4546, allocations: 317.5 kB / 0.7213 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.4546, allocations: 30.98 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.4547, allocations: 35.62 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4548, allocations: 73.98 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4548, allocations: 0 / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001583/0.455, allocations: 102 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.455, allocations: 6.266 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.455, allocations: 0 / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.455, allocations: 1.156 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.4551, allocations: 15.52 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4551, allocations: 0.7031 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.4551, allocations: 11.08 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4551, allocations: 1.781 kB / 0.7216 GB, free: 20.52 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 (3): * Single equations (assignments): 3 * 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.069e-05/0.4552, allocations: 121.8 kB / 0.7217 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.4552, allocations: 6.266 kB / 0.7217 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.4552, allocations: 5.906 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4552, allocations: 0.7031 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4552, allocations: 1.25 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4552, allocations: 4.266 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/0.4553, allocations: 138.5 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4553, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.4553, allocations: 18.56 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.4553, allocations: 1.125 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4554, allocations: 4.516 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.4554, allocations: 1.25 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4554, allocations: 8.578 kB / 0.7219 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.4555, allocations: 198.5 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.4555, allocations: 3.188 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4556, allocations: 0 / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.4556, allocations: 12.88 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4556, allocations: 11.03 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4556, allocations: 1.125 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.013e-05/0.4557, allocations: 83.61 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4557, allocations: 1.062 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001371/0.4558, allocations: 9.688 kB / 0.7222 GB, free: 19.96 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 (3): * Single equations (assignments): 3 * 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.0002627/0.4561, allocations: 0.7306 MB / 0.7229 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.4562, allocations: 66.25 kB / 0.7229 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4562, allocations: 0 / 0.7229 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.4563, allocations: 35.05 kB / 0.723 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4565, allocations: 4.359 kB / 0.723 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.4569, allocations: 166.2 kB / 0.7231 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.4569, allocations: 63.81 kB / 0.7232 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.4569, allocations: 1.75 kB / 0.7232 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.457, allocations: 15.39 kB / 0.7232 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.457, allocations: 0 / 0.7232 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.4706, allocations: 2.298 MB / 0.7255 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.912, allocations: 4.109 kB / 0.7255 GB, free: 18.11 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.645855036913417] Failed to read output from testmodel.py, exit status != 0: 6.989018855965696 6.999799736 6.54452924 Calling exit ...