Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001087/0.001087, 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.0008299/0.0008299, 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.8806/0.8806, allocations: 177.2 MB / 202.8 MB, free: 5.754 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.7049/0.7049, 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.AddParameter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="IDEAS_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.0009189/0.0009189, allocations: 65.59 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.4043/0.4052, allocations: 102 MB / 0.7179 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001384/0.4066, allocations: 0.6517 MB / 0.7186 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.4074, allocations: 0.817 MB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.4074, allocations: 0.9688 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.4075, allocations: 0 / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.4075, allocations: 5.703 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.973e-05/0.4076, allocations: 11.39 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.4076, allocations: 24.69 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.4077, allocations: 11.42 kB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.4078, allocations: 12.88 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.4078, allocations: 9.656 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.4079, allocations: 1.188 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.4079, allocations: 6.594 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.4079, allocations: 9.734 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.4079, allocations: 10.42 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.408, allocations: 27.03 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.408, allocations: 0 / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.946e-06/0.408, allocations: 0.5156 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.408, allocations: 1.375 kB / 0.7195 GB, free: 22.2 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.0002805/0.4083, allocations: 260.2 kB / 0.7198 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4083, allocations: 9.531 kB / 0.7198 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.024e-05/0.4083, allocations: 39.73 kB / 0.7198 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.866e-05/0.4083, allocations: 7.141 kB / 0.7198 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.588e-05/0.4084, allocations: 112.3 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4084, allocations: 5.328 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4084, allocations: 2.016 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4085, allocations: 49.59 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4085, allocations: 3.938 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.4086, allocations: 0 / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4086, allocations: 1.25 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.4086, allocations: 37.31 kB / 0.72 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.4089, allocations: 212.2 kB / 0.7202 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.409, allocations: 43.61 kB / 0.7203 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.409, allocations: 26.41 kB / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.409, allocations: 0 / 0.7203 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.409, allocations: 32.72 kB / 0.7203 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.409, allocations: 3.938 kB / 0.7203 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.4092, allocations: 91.97 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.4093, allocations: 52.47 kB / 0.7204 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.4093, allocations: 102.7 kB / 0.7205 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.4093, allocations: 26.41 kB / 0.7206 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.4093, allocations: 82.8 kB / 0.7207 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.4094, allocations: 13.73 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.4094, allocations: 12.73 kB / 0.7207 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.058e-05/0.4094, allocations: 312.8 kB / 0.721 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.4095, allocations: 21.59 kB / 0.721 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.4095, allocations: 14.66 kB / 0.721 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.4096, allocations: 41.17 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4096, allocations: 5.031 kB / 0.7211 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.4097, allocations: 70.83 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4097, allocations: 7.188 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4097, allocations: 1.078 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4097, allocations: 1.062 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.4098, allocations: 8.703 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4098, allocations: 0 / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.4098, allocations: 10.08 kB / 0.7211 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.4098, allocations: 1.281 kB / 0.7211 GB, free: 20.64 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 3.72e-05/0.4099, allocations: 113.6 kB / 0.7213 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.4099, allocations: 14.16 kB / 0.7213 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.4099, allocations: 9.266 kB / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4099, allocations: 0 / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4099, allocations: 0 / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4099, allocations: 1.125 kB / 0.7213 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.8e-05/0.41, allocations: 129.6 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.41, allocations: 0.75 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.41, allocations: 7.922 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.41, allocations: 0.6094 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.41, allocations: 1.875 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.41, allocations: 4 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.41, allocations: 0.7031 kB / 0.7214 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.4101, allocations: 167.4 kB / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.4101, allocations: 3.219 kB / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.4101, allocations: 0.7031 kB / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.4102, allocations: 7 kB / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.4102, allocations: 2.859 kB / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4102, allocations: 0 / 0.7216 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.4102, allocations: 88.91 kB / 0.7217 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4102, allocations: 0 / 0.7217 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001372/0.4104, allocations: 12.22 kB / 0.7217 GB, free: 20.11 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.0002175/0.4106, allocations: 0.6962 MB / 0.7224 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.4107, allocations: 35.22 kB / 0.7224 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4107, allocations: 5.688 kB / 0.7224 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.4108, allocations: 19.23 kB / 0.7224 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.411, allocations: 2.797 kB / 0.7224 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.4113, allocations: 140.8 kB / 0.7226 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.4113, allocations: 61.05 kB / 0.7226 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.4113, allocations: 1.344 kB / 0.7226 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.4113, allocations: 17 kB / 0.7226 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4113, allocations: 5.156 kB / 0.7226 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.4255, allocations: 1.936 MB / 0.7245 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.494/6.919, allocations: 5.422 kB / 0.7245 GB, free: 18.3 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.600863169063814] Failed to read output from testmodel.py, exit status != 0: 6.997382466099225 7.009729333 6.599265884 Calling exit ...