Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0008118/0.0008118, 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.0008139/0.0008139, 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.8597/0.8597, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.6964/0.6964, 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.0009259/0.0009259, allocations: 71.89 kB / 0.6186 GB, free: 13.27 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.4125/0.4134, allocations: 102 MB / 0.7182 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.001988/0.4154, allocations: 1.943 MB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4168, allocations: 1.317 MB / 0.7214 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.4169, allocations: 2.156 kB / 0.7214 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.4173, allocations: 233.5 kB / 0.7216 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.418, allocations: 453.7 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.783e-06/0.418, allocations: 0 / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.4183, allocations: 393.7 kB / 0.7224 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.4184, allocations: 13.95 kB / 0.7224 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.4185, allocations: 195.8 kB / 0.7226 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.4187, allocations: 199.2 kB / 0.7228 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.4187, allocations: 23.03 kB / 0.7228 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.4191, allocations: 283.4 kB / 0.7231 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.4194, allocations: 394.2 kB / 0.7235 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.4196, allocations: 337.3 kB / 0.7238 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.4206, allocations: 1.213 MB / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4206, allocations: 0 / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4206, allocations: 0 / 0.725 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4206, allocations: 0 / 0.725 GB, free: 19.55 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001205/0.4218, allocations: 1.216 MB / 0.7262 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4219, allocations: 10.91 kB / 0.7262 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.4219, allocations: 47.55 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.4223, allocations: 159.5 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.4248, allocations: 4.223 MB / 0.7305 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.4248, allocations: 15.56 kB / 0.7305 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4248, allocations: 13.03 kB / 0.7305 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.4253, allocations: 0.6427 MB / 0.7312 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4253, allocations: 0 / 0.7312 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4254, allocations: 5.25 kB / 0.7312 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.4254, allocations: 3.688 kB / 0.7312 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.4262, allocations: 1.103 MB / 0.7322 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.4286, allocations: 3.029 MB / 0.7352 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.429, allocations: 331 kB / 0.7355 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.4293, allocations: 226.9 kB / 0.7357 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.4293, allocations: 23.7 kB / 0.7358 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.4293, allocations: 39.53 kB / 0.7358 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.4293, allocations: 1.219 kB / 0.7358 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.000767/0.4301, allocations: 0.7264 MB / 0.7365 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.4301, allocations: 53.69 kB / 0.7366 GB, free: 15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/0.4358, allocations: 6.501 MB / 0.7429 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4358, allocations: 26.92 kB / 0.7429 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.436, allocations: 425 kB / 0.7433 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.436, allocations: 69.44 kB / 0.7434 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.4361, allocations: 56.78 kB / 0.7435 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.4361, allocations: 315.7 kB / 0.7438 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.4366, allocations: 0.5362 MB / 0.7443 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.437, allocations: 0.5527 MB / 0.7448 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.4376, allocations: 0.7641 MB / 0.7456 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4376, allocations: 1.094 kB / 0.7456 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009117/0.4386, allocations: 1.242 MB / 0.7468 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4386, allocations: 5.5 kB / 0.7468 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4386, allocations: 1.375 kB / 0.7468 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4386, allocations: 1.375 kB / 0.7468 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.4388, allocations: 64.53 kB / 0.7469 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4388, allocations: 2.75 kB / 0.7469 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.439, allocations: 44.92 kB / 0.7469 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.439, allocations: 12.91 kB / 0.7469 GB, free: 11.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0001841/0.4392, allocations: 282.6 kB / 0.7472 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.4393, allocations: 103.1 kB / 0.7473 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.4399, allocations: 0.5613 MB / 0.7478 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4399, allocations: 2.625 kB / 0.7478 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4399, allocations: 3.938 kB / 0.7478 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4399, allocations: 0.8438 kB / 0.7478 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.4422, allocations: 2.665 MB / 0.7504 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4422, allocations: 5.719 kB / 0.7504 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4423, allocations: 49.59 kB / 0.7505 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4424, allocations: 11.36 kB / 0.7505 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.4424, allocations: 14.94 kB / 0.7505 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.4424, allocations: 14.58 kB / 0.7505 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4424, allocations: 6.5 kB / 0.7505 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.4429, allocations: 0.6855 MB / 0.7512 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.4431, allocations: 189.2 kB / 0.7514 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.4432, allocations: 14.92 kB / 0.7514 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.4434, allocations: 32.41 kB / 0.7514 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.4434, allocations: 26.7 kB / 0.7515 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4434, allocations: 14.7 kB / 0.7515 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003407/0.4468, allocations: 5.157 MB / 0.7565 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4468, allocations: 0 / 0.7565 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005074/0.4474, allocations: 189.1 kB / 0.7567 GB, free: 7.289 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0008845/0.4482, allocations: 1.289 MB / 0.7579 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.449, allocations: 0.7745 MB / 0.7587 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.449, allocations: 1.25 kB / 0.7587 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.4492, allocations: 221.6 kB / 0.7589 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.4498, allocations: 205.3 kB / 0.7591 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.4634, allocations: 22.96 MB / 0.7815 GB, free: 252 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4637, allocations: 411.1 kB / 0.7819 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.4639, allocations: 145.3 kB / 0.7821 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.4642, allocations: 304.4 kB / 0.7824 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of SimCode: time 7.92e-07/0.4642, allocations: 0 / 0.7824 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4935, allocations: 25.39 MB / 0.8071 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.542, allocations: 10.38 kB / 0.8072 GB, free: 6.422 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.216534583945759] Failed to read output from testmodel.py, exit status != 0: 7.629496817011386 7.638183129 7.215814278 Calling exit ...