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.0008469/0.0008469, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009961/0.0009961, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9955/0.9955, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7967/0.7967, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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.0009741/0.0009741, allocations: 62.47 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5664, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002397/0.5688, allocations: 2.083 MB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.5706, allocations: 1.424 MB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.5707, allocations: 1.938 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.5713, allocations: 290.6 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008217/0.5722, allocations: 442.2 kB / 0.822 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.921e-06/0.5722, allocations: 0 / 0.822 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.5725, allocations: 396 kB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.054e-05/0.5725, allocations: 15.22 kB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.5727, allocations: 144.6 kB / 0.8225 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.5729, allocations: 216.8 kB / 0.8227 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.5729, allocations: 22.84 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.5733, allocations: 305.2 kB / 0.823 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.5736, allocations: 386.7 kB / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.5739, allocations: 412.9 kB / 0.8238 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5751, allocations: 1.17 MB / 0.8249 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.5751, allocations: 0.75 kB / 0.825 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5751, allocations: 0 / 0.825 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5751, allocations: 1.219 kB / 0.825 GB, free: 13.32 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.001289/0.5764, allocations: 1.183 MB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.5764, allocations: 10.5 kB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.5765, allocations: 45.88 kB / 0.8262 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.5769, allocations: 153.4 kB / 0.8263 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.5807, allocations: 4.212 MB / 0.8304 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.5808, allocations: 10.41 kB / 0.8304 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5808, allocations: 13.62 kB / 0.8304 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.5815, allocations: 0.6366 MB / 0.8311 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5815, allocations: 3.938 kB / 0.8311 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5815, allocations: 6.156 kB / 0.8311 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5815, allocations: 4.094 kB / 0.8311 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5827, allocations: 1.106 MB / 0.8322 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.5863, allocations: 3.128 MB / 0.8352 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.587, allocations: 334.9 kB / 0.8355 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.5872, allocations: 226.7 kB / 0.8357 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.5873, allocations: 26.08 kB / 0.8358 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.5873, allocations: 32.56 kB / 0.8358 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 3.096e-06/0.5873, allocations: 0 / 0.8358 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001043/0.5884, allocations: 0.7309 MB / 0.8365 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5884, allocations: 57.58 kB / 0.8366 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007188/0.5956, allocations: 6.497 MB / 0.8429 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.5957, allocations: 30.95 kB / 0.8429 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.596, allocations: 415.9 kB / 0.8433 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.5961, allocations: 75.56 kB / 0.8434 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.5962, allocations: 64.95 kB / 0.8435 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5963, allocations: 313.2 kB / 0.8438 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.597, allocations: 0.5286 MB / 0.8443 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.5975, allocations: 0.5535 MB / 0.8448 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.5983, allocations: 0.7748 MB / 0.8456 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5983, allocations: 1.281 kB / 0.8456 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001562/0.5999, allocations: 1.225 MB / 0.8468 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.5999, allocations: 9.594 kB / 0.8468 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5999, allocations: 0 / 0.8468 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.5999, allocations: 1.719 kB / 0.8468 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.6002, allocations: 64.17 kB / 0.8469 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6002, allocations: 1.688 kB / 0.8469 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.6006, allocations: 43.19 kB / 0.8469 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.6006, allocations: 12.5 kB / 0.8469 GB, free: 4.355 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.0003531/0.601, allocations: 286.2 kB / 0.8472 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6011, allocations: 95.67 kB / 0.8473 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.6018, allocations: 0.5626 MB / 0.8478 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6018, allocations: 2.469 kB / 0.8478 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.6018, allocations: 0 / 0.8478 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6018, allocations: 7.984 kB / 0.8478 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.6046, allocations: 2.778 MB / 0.8506 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6046, allocations: 4 kB / 0.8506 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.6047, allocations: 56.34 kB / 0.8506 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.6047, allocations: 5.594 kB / 0.8506 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.6048, allocations: 10.27 kB / 0.8506 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.6048, allocations: 6.5 kB / 0.8506 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.6048, allocations: 8.531 kB / 0.8506 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6059, allocations: 0.6842 MB / 0.8513 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.6061, allocations: 186.4 kB / 0.8515 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.6062, allocations: 9.5 kB / 0.8515 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.6064, allocations: 27.67 kB / 0.8515 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6064, allocations: 32.81 kB / 0.8516 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6064, allocations: 9.469 kB / 0.8516 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.004195/0.6106, allocations: 5.158 MB / 0.8566 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.42e-07/0.6106, allocations: 4 kB / 0.8566 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009205/0.6115, allocations: 183.9 kB / 0.8568 GB, free: 13.73 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.001117/0.6127, allocations: 1.285 MB / 0.858 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000741/0.6134, allocations: 0.7729 MB / 0.8588 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6134, allocations: 0 / 0.8588 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.6136, allocations: 228.6 kB / 0.859 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.6143, allocations: 196.4 kB / 0.8592 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.6326, allocations: 22.94 MB / 0.8816 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.633, allocations: 0.9992 MB / 0.8826 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.6334, allocations: 149.4 kB / 0.8827 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6337, allocations: 295.3 kB / 0.883 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.255e-06/0.6337, allocations: 0 / 0.883 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.6781, allocations: 24.05 MB / 0.9065 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.56, allocations: 8.688 kB / 0.9065 GB, free: 10.75 MB / 0.6823 GB " [Timeout remaining time 651] (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: 11.673548249993473] Failed to read output from testmodel.py, exit status != 0: 8.64749804791063 8.658079435 8.081060676 Calling exit ...