Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0012/0.0012, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001394/0.001394, allocations: 212 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9795/0.9795, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.8084/0.8084, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_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.0008488/0.0008488, allocations: 69.17 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5078, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002635/0.5104, allocations: 2.072 MB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.5121, allocations: 1.303 MB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.5122, allocations: 3.875 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.5127, allocations: 239.4 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.5135, allocations: 447.4 kB / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.702e-06/0.5135, allocations: 0 / 0.8213 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.5138, allocations: 388.5 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.5139, allocations: 10.95 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.514, allocations: 150.3 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.5142, allocations: 200.8 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.5142, allocations: 25.38 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.5146, allocations: 282.8 kB / 0.8224 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.5149, allocations: 389.7 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.5152, allocations: 337.1 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5167, allocations: 1.172 MB / 0.8242 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5167, allocations: 1.281 kB / 0.8242 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.005e-06/0.5167, allocations: 0 / 0.8242 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.5167, allocations: 3.938 kB / 0.8242 GB, free: 13.65 MB / 0.6198 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.001515/0.5182, allocations: 1.187 MB / 0.8254 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5183, allocations: 8.844 kB / 0.8254 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.5183, allocations: 50.44 kB / 0.8254 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.5188, allocations: 153.2 kB / 0.8256 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.5226, allocations: 4.215 MB / 0.8297 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.5226, allocations: 14.12 kB / 0.8297 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5226, allocations: 14.09 kB / 0.8297 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.5233, allocations: 0.6362 MB / 0.8303 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5233, allocations: 4 kB / 0.8303 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.5233, allocations: 6.188 kB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5233, allocations: 3.344 kB / 0.8303 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5245, allocations: 1.102 MB / 0.8314 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.5275, allocations: 3.005 MB / 0.8343 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.528, allocations: 339.2 kB / 0.8347 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.5283, allocations: 217.2 kB / 0.8349 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.5283, allocations: 28.78 kB / 0.8349 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5284, allocations: 36.67 kB / 0.8349 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.5284, allocations: 4 kB / 0.8349 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009321/0.5293, allocations: 0.7203 MB / 0.8356 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5293, allocations: 57.58 kB / 0.8357 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005872/0.5352, allocations: 6.502 MB / 0.8421 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5352, allocations: 26.98 kB / 0.8421 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5355, allocations: 423.1 kB / 0.8425 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.5355, allocations: 71.45 kB / 0.8426 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.5356, allocations: 57.12 kB / 0.8426 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.5356, allocations: 314 kB / 0.8429 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.5361, allocations: 0.5281 MB / 0.8434 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.5366, allocations: 0.5539 MB / 0.844 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.5372, allocations: 0.777 MB / 0.8447 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5372, allocations: 0 / 0.8447 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009962/0.5382, allocations: 1.229 MB / 0.8459 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5382, allocations: 6.031 kB / 0.8459 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5382, allocations: 0 / 0.8459 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5383, allocations: 6.469 kB / 0.8459 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.5384, allocations: 60.14 kB / 0.846 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5384, allocations: 1.312 kB / 0.846 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.5387, allocations: 56.03 kB / 0.846 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.5387, allocations: 15.59 kB / 0.8461 GB, free: 4.832 MB / 0.6198 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.0002111/0.5389, allocations: 275.1 kB / 0.8463 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.539, allocations: 96.05 kB / 0.8464 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.5396, allocations: 0.5625 MB / 0.847 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5396, allocations: 1.125 kB / 0.847 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5396, allocations: 1.062 kB / 0.847 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5396, allocations: 7.984 kB / 0.847 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.5419, allocations: 2.673 MB / 0.8496 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5419, allocations: 4.5 kB / 0.8496 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.542, allocations: 48.03 kB / 0.8496 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.542, allocations: 5.312 kB / 0.8496 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5421, allocations: 11.47 kB / 0.8496 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.5421, allocations: 13.38 kB / 0.8497 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5421, allocations: 9.219 kB / 0.8497 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.5427, allocations: 0.6789 MB / 0.8503 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.5429, allocations: 182.9 kB / 0.8505 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.543, allocations: 10.5 kB / 0.8505 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5432, allocations: 22.45 kB / 0.8505 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.5432, allocations: 30.66 kB / 0.8506 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.5432, allocations: 14.94 kB / 0.8506 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003647/0.5469, allocations: 5.161 MB / 0.8556 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5469, allocations: 0 / 0.8556 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000522/0.5474, allocations: 191.8 kB / 0.8558 GB, free: 14.3 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.0009598/0.5484, allocations: 1.288 MB / 0.8571 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006762/0.549, allocations: 0.7651 MB / 0.8578 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.549, allocations: 0 / 0.8578 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.5493, allocations: 236 kB / 0.858 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.5499, allocations: 189.6 kB / 0.8582 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.566, allocations: 22.94 MB / 0.8806 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5663, allocations: 411.2 kB / 0.881 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.5668, allocations: 141.4 kB / 0.8811 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.5671, allocations: 291.3 kB / 0.8814 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.5671, allocations: 0 / 0.8814 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.6001, allocations: 25.66 MB / 0.9065 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.61, allocations: 22.11 kB / 0.9065 GB, free: 10.36 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.693594716023654] Failed to read output from testmodel.py, exit status != 0: 7.695733729749918 7.705072369 7.186667683 Calling exit ...