Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.0007535/0.0007535, 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.0009902/0.0009902, 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.8706/0.8706, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7048/0.7048, 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.0009019/0.0009019, allocations: 70.47 kB / 0.6186 GB, free: 13.23 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.4108/0.4117, allocations: 102 MB / 0.7182 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003052/0.4148, allocations: 2.055 MB / 0.7202 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4168, allocations: 1.315 MB / 0.7215 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.417, allocations: 5.062 kB / 0.7215 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.4177, allocations: 237.9 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.4187, allocations: 446.3 kB / 0.7222 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 1.05e-05/0.4187, allocations: 1 kB / 0.7222 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.4192, allocations: 389 kB / 0.7225 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.4192, allocations: 15.17 kB / 0.7226 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4195, allocations: 198.3 kB / 0.7227 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.4197, allocations: 203 kB / 0.7229 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.4197, allocations: 23.34 kB / 0.723 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.4203, allocations: 279.1 kB / 0.7232 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.4206, allocations: 391.3 kB / 0.7236 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.4208, allocations: 337 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.4217, allocations: 1.216 MB / 0.7251 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4217, allocations: 0 / 0.7251 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4218, allocations: 0 / 0.7251 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.4218, allocations: 1.375 kB / 0.7251 GB, free: 19.37 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.001159/0.4229, allocations: 1.219 MB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.423, allocations: 10.06 kB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.423, allocations: 47.86 kB / 0.7264 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.4234, allocations: 155.2 kB / 0.7265 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.4263, allocations: 4.221 MB / 0.7306 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4263, allocations: 14.12 kB / 0.7306 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4264, allocations: 17.06 kB / 0.7307 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.4269, allocations: 0.6353 MB / 0.7313 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4269, allocations: 3.938 kB / 0.7313 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.427, allocations: 5.125 kB / 0.7313 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.427, allocations: 4.812 kB / 0.7313 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.4279, allocations: 1.102 MB / 0.7324 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.431, allocations: 3.029 MB / 0.7353 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.4315, allocations: 330.5 kB / 0.7356 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4317, allocations: 218.7 kB / 0.7358 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.4318, allocations: 30.89 kB / 0.7359 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.4318, allocations: 41.22 kB / 0.7359 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.4318, allocations: 0 / 0.7359 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008407/0.4326, allocations: 0.7278 MB / 0.7366 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4326, allocations: 53.97 kB / 0.7367 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/0.4381, allocations: 6.5 MB / 0.743 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.4381, allocations: 32.06 kB / 0.7431 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.4383, allocations: 424.5 kB / 0.7435 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.4383, allocations: 65.56 kB / 0.7435 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.4384, allocations: 57.55 kB / 0.7436 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.897e-05/0.4385, allocations: 315.9 kB / 0.7439 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.4389, allocations: 0.5269 MB / 0.7444 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.4393, allocations: 0.5572 MB / 0.7449 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.4399, allocations: 0.7693 MB / 0.7457 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4399, allocations: 0 / 0.7457 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001024/0.4409, allocations: 1.238 MB / 0.7469 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4409, allocations: 10.16 kB / 0.7469 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4409, allocations: 1.281 kB / 0.7469 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4409, allocations: 1.766 kB / 0.7469 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.4411, allocations: 60.55 kB / 0.747 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4411, allocations: 1.75 kB / 0.747 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.4415, allocations: 41.92 kB / 0.747 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4415, allocations: 16.62 kB / 0.747 GB, free: 11 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.0002385/0.4417, allocations: 286.2 kB / 0.7473 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.4418, allocations: 102.2 kB / 0.7474 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/0.4424, allocations: 0.562 MB / 0.7479 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4424, allocations: 2.75 kB / 0.7479 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4424, allocations: 0 / 0.7479 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4424, allocations: 9.344 kB / 0.748 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.4446, allocations: 2.666 MB / 0.7506 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4446, allocations: 5.281 kB / 0.7506 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4448, allocations: 54.11 kB / 0.7506 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4448, allocations: 5.812 kB / 0.7506 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4448, allocations: 10.73 kB / 0.7506 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4448, allocations: 11.28 kB / 0.7506 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4448, allocations: 9.719 kB / 0.7506 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.4454, allocations: 0.6869 MB / 0.7513 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.4456, allocations: 193.3 kB / 0.7515 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4457, allocations: 14.75 kB / 0.7515 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4459, allocations: 27.28 kB / 0.7515 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.446, allocations: 34.58 kB / 0.7516 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.446, allocations: 14.66 kB / 0.7516 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00327/0.4492, allocations: 5.154 MB / 0.7566 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4492, allocations: 0 / 0.7566 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006347/0.4499, allocations: 193.3 kB / 0.7568 GB, free: 7.102 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.0009416/0.4508, allocations: 1.284 MB / 0.7581 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007884/0.4516, allocations: 0.7717 MB / 0.7588 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4516, allocations: 5.156 kB / 0.7588 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.4518, allocations: 219.8 kB / 0.759 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.4525, allocations: 205.8 kB / 0.7592 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.4704, allocations: 22.96 MB / 0.7816 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4707, allocations: 411.1 kB / 0.782 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003966/0.4711, allocations: 145.4 kB / 0.7822 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.4714, allocations: 312.4 kB / 0.7825 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of SimCode: time 1.664e-06/0.4714, allocations: 0 / 0.7825 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.5137, allocations: 25.38 MB / 0.8073 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.664, allocations: 7.875 kB / 0.8073 GB, free: 6.137 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_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_WetFluid.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.386348237050697] Failed to read output from testmodel.py, exit status != 0: 7.754028579918668 7.772202191 7.344605983 Calling exit ...