Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001073/0.001073, 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.001031/0.001031, 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.9/0.9, allocations: 177.2 MB / 202.8 MB, free: 5.797 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.721/0.721, allocations: 154.9 MB / 414.2 MB, free: 0.5156 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.0009277/0.0009277, allocations: 75.89 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.485/0.486, allocations: 102 MB / 0.7182 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001336/0.4873, allocations: 0.5753 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.217e-05/0.4874, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.4874, allocations: 5.062 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.4874, allocations: 0 / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.4874, allocations: 0 / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.14e-05/0.4875, allocations: 1.812 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.4875, allocations: 1.125 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.4876, allocations: 9.734 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.4876, allocations: 1.797 kB / 0.7188 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.4876, allocations: 3.938 kB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4876, allocations: 1.375 kB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.4876, allocations: 0 / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.4877, allocations: 3.938 kB / 0.7188 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4877, allocations: 10.02 kB / 0.7188 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.706e-05/0.4877, allocations: 2.328 kB / 0.7188 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4877, allocations: 0 / 0.7188 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4877, allocations: 0 / 0.7188 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.4877, allocations: 0 / 0.7188 GB, free: 22.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002026/0.4879, allocations: 245.6 kB / 0.7191 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.488, allocations: 10.88 kB / 0.7191 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.046e-05/0.488, allocations: 31.55 kB / 0.7191 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.488, allocations: 0.9375 kB / 0.7191 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.519e-05/0.4881, allocations: 105.2 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4881, allocations: 384 / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.4881, allocations: 6.5 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.4882, allocations: 28.52 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4882, allocations: 7.875 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.4882, allocations: 0 / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4882, allocations: 1.156 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.4882, allocations: 5.672 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.4884, allocations: 351 kB / 0.7196 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.4885, allocations: 175.5 kB / 0.7198 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.187e-05/0.4885, allocations: 80.14 kB / 0.7198 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.4885, allocations: 75.28 kB / 0.7199 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4885, allocations: 115.9 kB / 0.72 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.4885, allocations: 1.562 kB / 0.72 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.783e-05/0.4885, allocations: 26.45 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.4886, allocations: 128.2 kB / 0.7202 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.4886, allocations: 102.4 kB / 0.7203 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-06/0.4886, allocations: 26.92 kB / 0.7203 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.4886, allocations: 80.14 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.4886, allocations: 0 / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.4887, allocations: 12.98 kB / 0.7204 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.4887, allocations: 316.6 kB / 0.7207 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-06/0.4887, allocations: 8.125 kB / 0.7207 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/0.4887, allocations: 0 / 0.7207 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.016e-05/0.4887, allocations: 76.81 kB / 0.7208 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4887, allocations: 83.16 kB / 0.7209 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.668e-05/0.4887, allocations: 29.42 kB / 0.7209 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4888, allocations: 81.06 kB / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.4888, allocations: 85.12 kB / 0.721 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.4888, allocations: 156.2 kB / 0.7212 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-06/0.4888, allocations: 76.53 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4888, allocations: 156.8 kB / 0.7214 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.4888, allocations: 81.48 kB / 0.7215 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4889, allocations: 75.28 kB / 0.7216 GB, free: 19.84 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 (0): * Single equations (assignments): 0 * 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.705e-05/0.4889, allocations: 268.8 kB / 0.7218 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.4889, allocations: 107 kB / 0.7219 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.4889, allocations: 110.6 kB / 0.722 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.489, allocations: 183.5 kB / 0.7222 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/0.489, allocations: 177.9 kB / 0.7224 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.489, allocations: 179.1 kB / 0.7225 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.229e-05/0.4891, allocations: 384.9 kB / 0.7229 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4891, allocations: 102.8 kB / 0.723 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.4891, allocations: 110.9 kB / 0.7231 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/0.4891, allocations: 182 kB / 0.7233 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.4892, allocations: 178.9 kB / 0.7235 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/0.4892, allocations: 185.9 kB / 0.7236 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-05/0.4892, allocations: 183 kB / 0.7238 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.4893, allocations: 305.7 kB / 0.7241 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4893, allocations: 116.5 kB / 0.7242 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4893, allocations: 183 kB / 0.7244 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.4894, allocations: 103.2 kB / 0.7245 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.4894, allocations: 182.6 kB / 0.7247 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4894, allocations: 102.2 kB / 0.7248 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.4894, allocations: 86.06 kB / 0.7248 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4894, allocations: 0 / 0.7248 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001486/0.4896, allocations: 1.219 kB / 0.7248 GB, free: 16.34 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 (0): * Single equations (assignments): 0 * 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.0001718/0.4897, allocations: 0.8069 MB / 0.7256 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.403e-05/0.4898, allocations: 5.156 kB / 0.7256 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4898, allocations: 0 / 0.7256 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.4898, allocations: 0 / 0.7256 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.4899, allocations: 455.5 kB / 0.7261 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.4905, allocations: 1.538 MB / 0.7276 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.4905, allocations: 55.55 kB / 0.7276 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.829e-06/0.4906, allocations: 0 / 0.7276 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.4906, allocations: 12.44 kB / 0.7276 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4906, allocations: 0 / 0.7276 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.505, allocations: 1.539 MB / 0.7291 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/7.206, allocations: 2.219 kB / 0.7291 GB, free: 12.55 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.05658742308151] Failed to read output from testmodel.py, exit status != 0: 7.2846020120196044 7.2952288450000005 6.805542729 Calling exit ...