Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001693, allocations: 101.2 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.001891, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8144/0.8144, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.88 kB / 0.4959 GB, free: 2.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 78.86 MB / 0.5729 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002851/0.3362, allocations: 2.176 MB / 0.575 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3379, allocations: 1.359 MB / 0.5763 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.338, allocations: 1.312 kB / 0.5763 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3386, allocations: 248.5 kB / 0.5766 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.3394, allocations: 444.5 kB / 0.577 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.814e-06/0.3394, allocations: 0 / 0.577 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.3397, allocations: 390.2 kB / 0.5774 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.3398, allocations: 18.5 kB / 0.5774 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3399, allocations: 151.1 kB / 0.5775 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3401, allocations: 188.6 kB / 0.5777 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.3401, allocations: 29.28 kB / 0.5777 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.3406, allocations: 264.1 kB / 0.578 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3408, allocations: 371.8 kB / 0.5783 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.341, allocations: 417.5 kB / 0.5787 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007278/0.3418, allocations: 1.146 MB / 0.5799 GB, free: 26.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3418, allocations: 0 / 0.5799 GB, free: 26.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3418, allocations: 1.938 kB / 0.5799 GB, free: 26.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3418, allocations: 0 / 0.5799 GB, free: 26.31 MB / 446.1 MB 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.001223/0.343, allocations: 1.224 MB / 0.5811 GB, free: 25.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3431, allocations: 9.594 kB / 0.5811 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3431, allocations: 52.48 kB / 0.5811 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/0.3437, allocations: 145.2 kB / 0.5813 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.3467, allocations: 4.268 MB / 0.5854 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3467, allocations: 10.62 kB / 0.5854 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3468, allocations: 19.12 kB / 0.5854 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.3474, allocations: 0.6325 MB / 0.5861 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3475, allocations: 7.922 kB / 0.5861 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3475, allocations: 6.281 kB / 0.5861 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3475, allocations: 3.656 kB / 0.5861 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.3486, allocations: 1.107 MB / 0.5872 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.351, allocations: 3.151 MB / 0.5902 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.3517, allocations: 357.9 kB / 0.5906 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.3519, allocations: 232.8 kB / 0.5908 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.352, allocations: 21.7 kB / 0.5908 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.352, allocations: 34.56 kB / 0.5909 GB, free: 19.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.352, allocations: 0 / 0.5909 GB, free: 19.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009548/0.353, allocations: 0.7178 MB / 0.5916 GB, free: 18.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.353, allocations: 52.47 kB / 0.5916 GB, free: 18.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.3576, allocations: 6.505 MB / 0.598 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.3577, allocations: 25.7 kB / 0.598 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3579, allocations: 413 kB / 0.5984 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3579, allocations: 63.89 kB / 0.5984 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/0.358, allocations: 57.69 kB / 0.5985 GB, free: 11.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.3581, allocations: 319.9 kB / 0.5988 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.3585, allocations: 0.5271 MB / 0.5993 GB, free: 10.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.3589, allocations: 0.5505 MB / 0.5999 GB, free: 9.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.3596, allocations: 0.7669 MB / 0.6006 GB, free: 9.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3596, allocations: 7.875 kB / 0.6006 GB, free: 9.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001039/0.3607, allocations: 1.238 MB / 0.6018 GB, free: 7.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3607, allocations: 4 kB / 0.6018 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3607, allocations: 0 / 0.6018 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3607, allocations: 7.938 kB / 0.6018 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.361, allocations: 67.89 kB / 0.6019 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.361, allocations: 0 / 0.6019 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.3614, allocations: 44.7 kB / 0.6019 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3615, allocations: 11.98 kB / 0.6019 GB, free: 7.762 MB / 446.1 MB 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.0002117/0.3617, allocations: 286.8 kB / 0.6022 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3618, allocations: 87.44 kB / 0.6023 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.3626, allocations: 0.5575 MB / 0.6029 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3626, allocations: 6.438 kB / 0.6029 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3626, allocations: 3.938 kB / 0.6029 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3626, allocations: 0 / 0.6029 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3648, allocations: 2.811 MB / 0.6056 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3649, allocations: 8 kB / 0.6056 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3651, allocations: 57.17 kB / 0.6057 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3651, allocations: 4 kB / 0.6057 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3651, allocations: 12.5 kB / 0.6057 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3651, allocations: 7.938 kB / 0.6057 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3652, allocations: 9.328 kB / 0.6057 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.3659, allocations: 0.6775 MB / 0.6064 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.3661, allocations: 259.8 kB / 0.6066 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3663, allocations: 9.625 kB / 0.6066 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3666, allocations: 23.98 kB / 0.6066 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3667, allocations: 29.92 kB / 0.6067 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3667, allocations: 11.98 kB / 0.6067 GB, free: 2.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003902/0.3706, allocations: 5.157 MB / 0.6117 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3706, allocations: 0 / 0.6117 GB, free: 13.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.3713, allocations: 185.1 kB / 0.6119 GB, free: 13.37 MB / 462.1 MB 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.001505/0.3728, allocations: 1.291 MB / 0.6132 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3739, allocations: 0.781 MB / 0.6139 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3739, allocations: 4 kB / 0.6139 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.3743, allocations: 226.5 kB / 0.6141 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.3751, allocations: 189.9 kB / 0.6143 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/0.401, allocations: 23.35 MB / 0.6371 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.4017, allocations: 1.003 MB / 0.6381 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004537/0.4022, allocations: 149.4 kB / 0.6382 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.4026, allocations: 295.3 kB / 0.6385 GB, free: 1.672 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4026, allocations: 0 / 0.6385 GB, free: 1.672 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0544/0.457, allocations: 23.35 MB / 0.6613 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.501, allocations: 10.34 kB / 0.6613 GB, free: 10.59 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1)