Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007327/0.0007327, 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.0008243/0.0008243, 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.8737/0.8737, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.714/0.714, allocations: 154.9 MB / 414.2 MB, free: 0.5039 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.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_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.0011/0.0011, allocations: 69.44 kB / 0.6187 GB, free: 13.25 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.5171/0.5182, allocations: 102 MB / 0.7183 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001452/0.5196, allocations: 0.6762 MB / 0.7189 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.5203, allocations: 0.8291 MB / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.5203, allocations: 1.062 kB / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.5203, allocations: 7.938 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.5204, allocations: 9.562 kB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.052e-05/0.5204, allocations: 14.06 kB / 0.7198 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.5205, allocations: 47.22 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.5206, allocations: 13.2 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.5206, allocations: 21.02 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.5207, allocations: 23.08 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.5207, allocations: 3.25 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.5207, allocations: 4.25 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.5207, allocations: 10.42 kB / 0.7199 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.5207, allocations: 13.81 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.329e-05/0.5208, allocations: 49.45 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5208, allocations: 0 / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5208, allocations: 0 / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5208, allocations: 0 / 0.7199 GB, free: 22.06 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.0003213/0.5211, allocations: 292.6 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5212, allocations: 11.41 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.5212, allocations: 32.53 kB / 0.7203 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.693e-05/0.5212, allocations: 13.98 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.5213, allocations: 112 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5213, allocations: 5.406 kB / 0.7204 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.5213, allocations: 1.5 kB / 0.7204 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5214, allocations: 70.02 kB / 0.7205 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5215, allocations: 3.938 kB / 0.7205 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5215, allocations: 0 / 0.7205 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5215, allocations: 1.188 kB / 0.7205 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.5216, allocations: 66.2 kB / 0.7205 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.5219, allocations: 231.6 kB / 0.7207 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.522, allocations: 58.67 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.5221, allocations: 40.34 kB / 0.7208 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.5221, allocations: 0 / 0.7208 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.5221, allocations: 41.33 kB / 0.7209 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.5221, allocations: 0 / 0.7209 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003121/0.5224, allocations: 124 kB / 0.721 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.5224, allocations: 56.47 kB / 0.7211 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.5225, allocations: 115.9 kB / 0.7212 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.5225, allocations: 29.7 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.5225, allocations: 88.06 kB / 0.7213 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.5225, allocations: 14.33 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.5225, allocations: 12.69 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.805e-05/0.5226, allocations: 321.4 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.5226, allocations: 31.44 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.5227, allocations: 33.41 kB / 0.7217 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5228, allocations: 73.14 kB / 0.7217 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5228, allocations: 0.75 kB / 0.7217 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.523, allocations: 97.36 kB / 0.7218 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.523, allocations: 4.594 kB / 0.7218 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.523, allocations: 6.156 kB / 0.7218 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.523, allocations: 336 / 0.7218 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.5231, allocations: 14.86 kB / 0.7219 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5231, allocations: 1.094 kB / 0.7219 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.5232, allocations: 11.64 kB / 0.7219 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.5232, allocations: 1.844 kB / 0.7219 GB, free: 20.44 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 3.601e-05/0.5232, allocations: 117.1 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.5232, allocations: 10.19 kB / 0.722 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.5232, allocations: 10.06 kB / 0.722 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5232, allocations: 5.594 kB / 0.722 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5232, allocations: 0 / 0.722 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.5232, allocations: 0.5625 kB / 0.722 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.843e-05/0.5233, allocations: 141.5 kB / 0.7221 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5233, allocations: 1.031 kB / 0.7221 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.5233, allocations: 14.83 kB / 0.7222 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5233, allocations: 0.8906 kB / 0.7222 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5234, allocations: 1.188 kB / 0.7222 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.5234, allocations: 0 / 0.7222 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5234, allocations: 1.156 kB / 0.7222 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.5235, allocations: 206.3 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.5235, allocations: 2.156 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5235, allocations: 2.391 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.5236, allocations: 10.7 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.5236, allocations: 7.969 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.5236, allocations: 2.172 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.178e-05/0.5237, allocations: 86.91 kB / 0.7225 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5237, allocations: 0 / 0.7225 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001332/0.5238, allocations: 10.12 kB / 0.7225 GB, free: 19.89 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.0003056/0.5241, allocations: 0.7277 MB / 0.7232 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.5243, allocations: 69.64 kB / 0.7233 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5243, allocations: 1 kB / 0.7233 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.5244, allocations: 33.16 kB / 0.7233 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.5246, allocations: 8.984 kB / 0.7233 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.5249, allocations: 167 kB / 0.7235 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.5249, allocations: 68.36 kB / 0.7235 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.5249, allocations: 1.188 kB / 0.7235 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.525, allocations: 16 kB / 0.7235 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.525, allocations: 0 / 0.7235 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.5392, allocations: 2.305 MB / 0.7258 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/7.362, allocations: 3.844 kB / 0.7258 GB, free: 18.04 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.166879986063577] Failed to read output from testmodel.py, exit status != 0: 7.440513201057911 7.451860156 6.92917302 Calling exit ...