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.001307/0.001307, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001281/0.001281, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8032/0.8032, allocations: 126.7 MB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.4954 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3566, allocations: 78.86 MB / 0.5724 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002891/0.3595, allocations: 2.1 MB / 0.5744 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3615, allocations: 1.355 MB / 0.5757 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.3616, allocations: 1.094 kB / 0.5757 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.3623, allocations: 256.2 kB / 0.576 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.3633, allocations: 403.5 kB / 0.5764 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.347e-06/0.3634, allocations: 0 / 0.5764 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.3637, allocations: 399.7 kB / 0.5768 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.3638, allocations: 17.58 kB / 0.5768 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3639, allocations: 152 kB / 0.5769 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3643, allocations: 241.6 kB / 0.5772 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3643, allocations: 22 kB / 0.5772 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.3648, allocations: 269.8 kB / 0.5774 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.3651, allocations: 378.2 kB / 0.5778 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.3654, allocations: 413.2 kB / 0.5782 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.3663, allocations: 1.147 MB / 0.5793 GB, free: 26.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3663, allocations: 2.406 kB / 0.5793 GB, free: 26.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3663, allocations: 0 / 0.5793 GB, free: 26.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3664, allocations: 5.375 kB / 0.5793 GB, free: 26.66 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.001356/0.3677, allocations: 1.219 MB / 0.5805 GB, free: 25.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3678, allocations: 9.719 kB / 0.5805 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.3678, allocations: 51.73 kB / 0.5806 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006341/0.3685, allocations: 149.5 kB / 0.5807 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.372, allocations: 4.265 MB / 0.5849 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3721, allocations: 14.94 kB / 0.5849 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3721, allocations: 17.25 kB / 0.5849 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.373, allocations: 0.6337 MB / 0.5855 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.373, allocations: 0 / 0.5855 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.373, allocations: 5.125 kB / 0.5855 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.373, allocations: 4.938 kB / 0.5855 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3742, allocations: 1.108 MB / 0.5866 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.3772, allocations: 3.151 MB / 0.5897 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.3779, allocations: 353.9 kB / 0.59 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3782, allocations: 233.7 kB / 0.5902 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.3782, allocations: 25.33 kB / 0.5903 GB, free: 19.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3782, allocations: 30.56 kB / 0.5903 GB, free: 19.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.3783, allocations: 0 / 0.5903 GB, free: 19.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.00105/0.3793, allocations: 0.7107 MB / 0.591 GB, free: 18.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3794, allocations: 63.28 kB / 0.5911 GB, free: 18.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/0.3845, allocations: 6.506 MB / 0.5974 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3846, allocations: 25.7 kB / 0.5974 GB, free: 12.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3848, allocations: 412.3 kB / 0.5978 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.3849, allocations: 68.59 kB / 0.5979 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.385, allocations: 57.69 kB / 0.5979 GB, free: 11.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.385, allocations: 310 kB / 0.5982 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3855, allocations: 0.5323 MB / 0.5988 GB, free: 10.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.3859, allocations: 0.5547 MB / 0.5993 GB, free: 10.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.3866, allocations: 0.7742 MB / 0.6001 GB, free: 9.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3866, allocations: 3.938 kB / 0.6001 GB, free: 9.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001113/0.3877, allocations: 1.221 MB / 0.6013 GB, free: 8.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3878, allocations: 8 kB / 0.6013 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3878, allocations: 2.125 kB / 0.6013 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3878, allocations: 3.984 kB / 0.6013 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3881, allocations: 67.89 kB / 0.6013 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3882, allocations: 4 kB / 0.6013 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.3886, allocations: 48.28 kB / 0.6014 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3887, allocations: 12.78 kB / 0.6014 GB, free: 8.02 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.0002503/0.3889, allocations: 287.3 kB / 0.6017 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3891, allocations: 86.88 kB / 0.6018 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.3898, allocations: 0.5632 MB / 0.6023 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3898, allocations: 0 / 0.6023 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3898, allocations: 0 / 0.6023 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3899, allocations: 3.984 kB / 0.6023 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3922, allocations: 2.814 MB / 0.6051 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3922, allocations: 5.312 kB / 0.6051 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.3925, allocations: 47.91 kB / 0.6051 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3925, allocations: 8 kB / 0.6051 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3925, allocations: 12.58 kB / 0.6051 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3925, allocations: 11.94 kB / 0.6051 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3925, allocations: 5.875 kB / 0.6051 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.3933, allocations: 0.6791 MB / 0.6058 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.3935, allocations: 251.8 kB / 0.606 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3936, allocations: 15.94 kB / 0.6061 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.394, allocations: 33.31 kB / 0.6061 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.394, allocations: 25.42 kB / 0.6061 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3941, allocations: 17.03 kB / 0.6061 GB, free: 2.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003981/0.398, allocations: 5.153 MB / 0.6112 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3981, allocations: 0.7188 kB / 0.6112 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007852/0.3988, allocations: 188 kB / 0.6113 GB, free: 13.62 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.001614/0.4005, allocations: 1.283 MB / 0.6126 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4016, allocations: 0.7834 MB / 0.6134 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4016, allocations: 3.219 kB / 0.6134 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.402, allocations: 222.7 kB / 0.6136 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.403, allocations: 193.9 kB / 0.6138 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.4306, allocations: 23.49 MB / 0.6367 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.4314, allocations: 1.003 MB / 0.6377 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004749/0.4318, allocations: 145.4 kB / 0.6378 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.4323, allocations: 295.3 kB / 0.6381 GB, free: 1.805 MB / 478.1 MB Notification: Performance of SimCode: time 2.825e-06/0.4323, allocations: 4 kB / 0.6381 GB, free: 1.801 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/0.4795, allocations: 23.25 MB / 0.6608 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.4798, allocations: 213.8 kB / 0.661 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.675, allocations: 0 / 0.661 GB, free: 10.63 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1)