Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001021/0.001021, 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.00109/0.00109, 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.9233/0.9233, 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.7337/0.7337, 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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.001041/0.001041, 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.4809/0.4819, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001597/0.4835, allocations: 0.6754 MB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.4843, allocations: 0.8328 MB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.4844, allocations: 0 / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.4844, allocations: 4.641 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.4845, allocations: 6.734 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.408e-05/0.4846, allocations: 13.52 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.4847, allocations: 39.41 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4848, allocations: 17.42 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4849, allocations: 23.92 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.485, allocations: 27.02 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.485, allocations: 4.125 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.485, allocations: 3.094 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.485, allocations: 7.078 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.4851, allocations: 25.83 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.4852, allocations: 42.61 kB / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4852, allocations: 0 / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.257e-06/0.4852, allocations: 0 / 0.72 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4852, allocations: 0 / 0.72 GB, free: 22.01 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.0004467/0.4857, allocations: 293 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4857, allocations: 12.17 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.4858, allocations: 31.41 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.4858, allocations: 7.234 kB / 0.7203 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.4859, allocations: 111 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4859, allocations: 1.656 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.4859, allocations: 3.156 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.4861, allocations: 72.69 kB / 0.7205 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4861, allocations: 3.938 kB / 0.7205 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4861, allocations: 9.297 kB / 0.7205 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4861, allocations: 0 / 0.7205 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4863, allocations: 63.59 kB / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.4866, allocations: 236.3 kB / 0.7208 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4867, allocations: 58.72 kB / 0.7208 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.4868, allocations: 40.08 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4868, allocations: 0.6094 kB / 0.7209 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4868, allocations: 32.27 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4868, allocations: 3.938 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003232/0.4871, allocations: 128.3 kB / 0.721 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.4872, allocations: 53.33 kB / 0.7211 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/0.4872, allocations: 118.8 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.4872, allocations: 25.7 kB / 0.7212 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.4873, allocations: 88.78 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.4873, allocations: 17.36 kB / 0.7213 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.4873, allocations: 17.64 kB / 0.7213 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.402e-05/0.4873, allocations: 318.2 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.4874, allocations: 30.69 kB / 0.7216 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.4875, allocations: 35.28 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.4876, allocations: 70.5 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4876, allocations: 0 / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001679/0.4878, allocations: 98.44 kB / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4878, allocations: 5.344 kB / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4878, allocations: 0 / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4878, allocations: 1.656 kB / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.4879, allocations: 19.39 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4879, allocations: 0.5625 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.488, allocations: 11.53 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.488, allocations: 1.25 kB / 0.7219 GB, free: 20.39 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.614e-05/0.488, allocations: 121.8 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.488, allocations: 5.75 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.4881, allocations: 5.656 kB / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4881, allocations: 1.812 kB / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4881, allocations: 0 / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4881, allocations: 1.734 kB / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.111e-05/0.4882, allocations: 137.6 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4882, allocations: 0 / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.4882, allocations: 14.48 kB / 0.7222 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4882, allocations: 1.219 kB / 0.7222 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4882, allocations: 4.797 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4882, allocations: 1.219 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4882, allocations: 0 / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.4884, allocations: 206.8 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.4884, allocations: 2.812 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.4884, allocations: 0.6094 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.4885, allocations: 16.2 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.4885, allocations: 4.734 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4885, allocations: 7.938 kB / 0.7224 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.4885, allocations: 88.2 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4885, allocations: 0 / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000138/0.4887, allocations: 10.06 kB / 0.7225 GB, free: 19.83 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.0002903/0.489, allocations: 0.7273 MB / 0.7232 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.4892, allocations: 70.2 kB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4892, allocations: 0 / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.4892, allocations: 38.23 kB / 0.7233 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.4895, allocations: 10.25 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.4898, allocations: 158.5 kB / 0.7235 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.4899, allocations: 63.84 kB / 0.7235 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.4899, allocations: 1.188 kB / 0.7235 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.49, allocations: 16.45 kB / 0.7235 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.49, allocations: 0 / 0.7235 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.5076, allocations: 2.313 MB / 0.7258 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/7.158, allocations: 4.594 kB / 0.7258 GB, free: 17.98 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_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_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.060931561049074] Failed to read output from testmodel.py, exit status != 0: 7.237782896962017 7.251153464 6.763698312 Calling exit ...