Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.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.0008024/0.0008024, 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.0008502/0.0008502, 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.9054/0.9054, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.753/0.753, allocations: 154.9 MB / 414.2 MB, free: 484 kB / 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.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter",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.001368/0.001368, allocations: 67.91 kB / 0.6187 GB, free: 13.24 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.5088/0.5101, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001493/0.5116, allocations: 0.6499 MB / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.5124, allocations: 0.8139 MB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.5124, allocations: 5.062 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.5124, allocations: 0.6094 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.5125, allocations: 8.938 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.346e-05/0.5126, allocations: 7.266 kB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.5126, allocations: 25.36 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.5127, allocations: 7.562 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.5128, allocations: 15 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.5129, allocations: 10.06 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.5129, allocations: 6.281 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.5129, allocations: 1.5 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.5129, allocations: 6.297 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.5129, allocations: 6.625 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.513, allocations: 33.77 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.513, allocations: 1.094 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/0.513, allocations: 0 / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.513, allocations: 0 / 0.7198 GB, free: 22.08 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003228/0.5133, allocations: 261.2 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.5134, allocations: 14.88 kB / 0.7201 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.5134, allocations: 32.59 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.5134, allocations: 6.016 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.5135, allocations: 114.2 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.5135, allocations: 1.594 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.5135, allocations: 1.625 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5137, allocations: 53.11 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.5137, allocations: 8.578 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.5137, allocations: 0 / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5137, allocations: 1.219 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.5138, allocations: 36.98 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.514, allocations: 211.3 kB / 0.7205 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.5141, allocations: 44.88 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.5141, allocations: 25.3 kB / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.5142, allocations: 1.125 kB / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.5142, allocations: 36.5 kB / 0.7206 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5142, allocations: 7.938 kB / 0.7206 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.5144, allocations: 83.78 kB / 0.7207 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.5144, allocations: 54.39 kB / 0.7208 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.5145, allocations: 101.5 kB / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.5145, allocations: 31.11 kB / 0.7209 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.5145, allocations: 84.08 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.5145, allocations: 6.109 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.5145, allocations: 17.36 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.5145, allocations: 317.5 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.5146, allocations: 17.75 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.5146, allocations: 14.83 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.5147, allocations: 36.98 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5147, allocations: 5.344 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.952e-05/0.5148, allocations: 70.25 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5148, allocations: 5.5 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5148, allocations: 0 / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5148, allocations: 0.9375 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.5149, allocations: 13.38 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5149, allocations: 0 / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.5149, allocations: 7.703 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.5149, allocations: 3.984 kB / 0.7215 GB, free: 20.51 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 (2): * Single equations (assignments): 2 * 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.383e-05/0.515, allocations: 118.8 kB / 0.7216 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.515, allocations: 6 kB / 0.7216 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.515, allocations: 12.64 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.515, allocations: 0.7031 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.515, allocations: 0 / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.515, allocations: 1.594 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.485e-05/0.5151, allocations: 128.6 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5151, allocations: 0 / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.5152, allocations: 8.891 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.5152, allocations: 0.8438 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.5152, allocations: 6 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5152, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5152, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.5153, allocations: 167.2 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.5153, allocations: 2.969 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.5153, allocations: 0.5156 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.5153, allocations: 7.266 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.5154, allocations: 2.484 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.5154, allocations: 4.594 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.5154, allocations: 89.02 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5154, allocations: 3.938 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001307/0.5155, allocations: 7.312 kB / 0.722 GB, free: 19.98 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 (2): * Single equations (assignments): 2 * 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.0002232/0.5158, allocations: 0.6929 MB / 0.7227 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5159, allocations: 43.12 kB / 0.7227 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5159, allocations: 1.188 kB / 0.7227 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.155e-05/0.5159, allocations: 20.78 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5162, allocations: 3.812 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.5165, allocations: 135.5 kB / 0.7229 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.5165, allocations: 60.66 kB / 0.723 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.343e-05/0.5166, allocations: 1.844 kB / 0.723 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.5166, allocations: 18.41 kB / 0.723 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.5166, allocations: 0 / 0.723 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.5337, allocations: 1.938 MB / 0.7249 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/7.315, allocations: 15.67 kB / 0.7249 GB, free: 18.16 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter_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_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.183371955994517] Failed to read output from testmodel.py, exit status != 0: 7.393971489043906 7.402652398 6.887770655 Calling exit ...