Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.001744/0.001744, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.002012/0.002012, allocations: 191 kB / 17.2 MB, free: 5.609 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.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8253/0.8253, allocations: 126.7 MB / 417.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 55.91 kB / 0.4959 GB, free: 2.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.36, allocations: 78.86 MB / 0.5729 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002876/0.3629, allocations: 2.043 MB / 0.5749 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3648, allocations: 1.363 MB / 0.5762 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3649, allocations: 2.594 kB / 0.5762 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.3656, allocations: 251 kB / 0.5764 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.3665, allocations: 437 kB / 0.5769 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.455e-06/0.3665, allocations: 5.062 kB / 0.5769 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.3668, allocations: 392.5 kB / 0.5772 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3669, allocations: 19.72 kB / 0.5773 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.367, allocations: 146 kB / 0.5774 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3672, allocations: 198.1 kB / 0.5776 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.3672, allocations: 23.38 kB / 0.5776 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.3676, allocations: 260.1 kB / 0.5779 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.3679, allocations: 384.8 kB / 0.5782 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.3682, allocations: 407.8 kB / 0.5786 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.3689, allocations: 1.147 MB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3689, allocations: 1.188 kB / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.369, allocations: 0 / 0.5797 GB, free: 26.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.369, allocations: 0.5625 kB / 0.5797 GB, free: 26.58 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.001232/0.3702, allocations: 1.225 MB / 0.5809 GB, free: 25.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3703, allocations: 8.656 kB / 0.5809 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.3703, allocations: 51.7 kB / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.3709, allocations: 144.7 kB / 0.5811 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.3741, allocations: 4.268 MB / 0.5853 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3741, allocations: 11.16 kB / 0.5853 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3742, allocations: 16.78 kB / 0.5853 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.3749, allocations: 0.6357 MB / 0.5859 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3749, allocations: 4.953 kB / 0.5859 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.3749, allocations: 5.125 kB / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3749, allocations: 4.844 kB / 0.586 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3761, allocations: 1.106 MB / 0.587 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.3788, allocations: 3.155 MB / 0.5901 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.3794, allocations: 347.1 kB / 0.5904 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3797, allocations: 232.8 kB / 0.5907 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.3798, allocations: 24.84 kB / 0.5907 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3798, allocations: 39.19 kB / 0.5907 GB, free: 19.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.3798, allocations: 0.7812 kB / 0.5907 GB, free: 19.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001034/0.3808, allocations: 0.7153 MB / 0.5914 GB, free: 18.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.3809, allocations: 55.94 kB / 0.5915 GB, free: 18.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004771/0.3856, allocations: 6.502 MB / 0.5978 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3857, allocations: 29.69 kB / 0.5979 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3859, allocations: 412.3 kB / 0.5983 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.386, allocations: 67.75 kB / 0.5983 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.3861, allocations: 59.47 kB / 0.5984 GB, free: 11.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.3861, allocations: 321.9 kB / 0.5987 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.3866, allocations: 0.5271 MB / 0.5992 GB, free: 10.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.387, allocations: 0.5544 MB / 0.5997 GB, free: 10.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.3877, allocations: 0.7661 MB / 0.6005 GB, free: 9.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3877, allocations: 3.938 kB / 0.6005 GB, free: 9.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001123/0.3888, allocations: 1.233 MB / 0.6017 GB, free: 8.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3889, allocations: 4 kB / 0.6017 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3889, allocations: 0 / 0.6017 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3889, allocations: 4.688 kB / 0.6017 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3892, allocations: 68.77 kB / 0.6018 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3892, allocations: 0 / 0.6018 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.3897, allocations: 47.11 kB / 0.6018 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3897, allocations: 11.98 kB / 0.6018 GB, free: 7.895 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.0002575/0.39, allocations: 285.6 kB / 0.6021 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3901, allocations: 86.88 kB / 0.6022 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.3909, allocations: 0.5586 MB / 0.6027 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3909, allocations: 4 kB / 0.6027 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3909, allocations: 0.875 kB / 0.6027 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3909, allocations: 0 / 0.6027 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.3931, allocations: 2.813 MB / 0.6055 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3931, allocations: 8 kB / 0.6055 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.3934, allocations: 51.89 kB / 0.6055 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3934, allocations: 4 kB / 0.6055 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3934, allocations: 12.5 kB / 0.6055 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3934, allocations: 7.938 kB / 0.6056 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3934, allocations: 8.484 kB / 0.6056 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.3941, allocations: 0.6725 MB / 0.6062 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.3944, allocations: 259.8 kB / 0.6065 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3945, allocations: 7.938 kB / 0.6065 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.3948, allocations: 30.02 kB / 0.6065 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3949, allocations: 29.14 kB / 0.6065 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3949, allocations: 11.98 kB / 0.6065 GB, free: 2.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00387/0.3988, allocations: 5.154 MB / 0.6116 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3988, allocations: 4 kB / 0.6116 GB, free: 13.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006921/0.3995, allocations: 184.9 kB / 0.6118 GB, free: 13.51 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.00158/0.4011, allocations: 1.294 MB / 0.613 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.4023, allocations: 0.7805 MB / 0.6138 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4023, allocations: 4 kB / 0.6138 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.4027, allocations: 222.3 kB / 0.614 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.4036, allocations: 200 kB / 0.6142 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/0.4296, allocations: 23.34 MB / 0.637 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.4303, allocations: 1.003 MB / 0.638 GB, free: 2.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.4307, allocations: 149.4 kB / 0.6381 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.4312, allocations: 291.3 kB / 0.6384 GB, free: 1.809 MB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4312, allocations: 4 kB / 0.6384 GB, free: 1.805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.4848, allocations: 23.35 MB / 0.6612 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.637, allocations: 17.83 kB / 0.6612 GB, free: 10.72 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1)