Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.004441/0.004441, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001216/0.001216, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 281.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9556/0.9556, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002589, allocations: 95.84 kB / 0.681 GB, free: 7.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3627, allocations: 86.97 MB / 0.766 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01556/0.3783, allocations: 12.97 MB / 0.7786 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3812, allocations: 2.667 MB / 0.7812 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.3813, allocations: 0 / 0.7812 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.3816, allocations: 43.69 kB / 0.7813 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3818, allocations: 99.34 kB / 0.7814 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3829, allocations: 0.5028 MB / 0.7819 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.3832, allocations: 235.9 kB / 0.7821 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.3833, allocations: 13.5 kB / 0.7821 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007835/0.3911, allocations: 3.579 MB / 0.7856 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3913, allocations: 95.59 kB / 0.7857 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.3913, allocations: 12 kB / 0.7857 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.3936, allocations: 1.066 MB / 0.7867 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.3937, allocations: 43.83 kB / 0.7868 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.3938, allocations: 75.66 kB / 0.7869 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.3944, allocations: 374.7 kB / 0.7872 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3944, allocations: 11.98 kB / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3944, allocations: 0 / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3944, allocations: 0 / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007152/0.3952, allocations: 0.4948 MB / 0.7877 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3952, allocations: 12.03 kB / 0.7877 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.3953, allocations: 50.73 kB / 0.7878 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3954, allocations: 28.8 kB / 0.7878 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3957, allocations: 216.2 kB / 0.788 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3957, allocations: 16.7 kB / 0.788 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.3958, allocations: 16.31 kB / 0.788 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.3962, allocations: 251.9 kB / 0.7883 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3962, allocations: 0 / 0.7883 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3962, allocations: 4 kB / 0.7883 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.3962, allocations: 11.98 kB / 0.7883 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.3968, allocations: 431.5 kB / 0.7887 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.3979, allocations: 0.9644 MB / 0.7896 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3982, allocations: 169.2 kB / 0.7898 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3983, allocations: 60.89 kB / 0.7899 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.3998, allocations: 1.825 MB / 0.7916 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3999, allocations: 46.55 kB / 0.7917 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.3999, allocations: 0 / 0.7917 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003528/0.4002, allocations: 148.5 kB / 0.7918 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4003, allocations: 55.41 kB / 0.7919 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4005, allocations: 175 kB / 0.792 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.4005, allocations: 33.7 kB / 0.7921 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.4006, allocations: 140.1 kB / 0.7922 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4006, allocations: 55.53 kB / 0.7923 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4007, allocations: 49.7 kB / 0.7923 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4009, allocations: 330.8 kB / 0.7926 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.4009, allocations: 35.98 kB / 0.7927 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4011, allocations: 139.4 kB / 0.7928 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.4013, allocations: 197.5 kB / 0.793 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4013, allocations: 3.938 kB / 0.793 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003366/0.4017, allocations: 217.6 kB / 0.7932 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4017, allocations: 8 kB / 0.7932 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4017, allocations: 8.031 kB / 0.7932 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4017, allocations: 7.938 kB / 0.7932 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4019, allocations: 51.92 kB / 0.7933 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4019, allocations: 4 kB / 0.7933 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4021, allocations: 27.78 kB / 0.7933 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.4021, allocations: 15.98 kB / 0.7933 GB, free: 7.008 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001115/0.4022, allocations: 133.7 kB / 0.7934 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.4023, allocations: 15.91 kB / 0.7935 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.4026, allocations: 164.6 kB / 0.7936 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4026, allocations: 7.938 kB / 0.7936 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4026, allocations: 0 / 0.7936 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4026, allocations: 3.984 kB / 0.7936 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.4029, allocations: 217.6 kB / 0.7938 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4029, allocations: 0 / 0.7938 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.403, allocations: 23.98 kB / 0.7939 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.403, allocations: 0 / 0.7939 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.403, allocations: 7.938 kB / 0.7939 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.403, allocations: 7.938 kB / 0.7939 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.403, allocations: 0 / 0.7939 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.4033, allocations: 227.3 kB / 0.7941 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.4034, allocations: 108.9 kB / 0.7942 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.4034, allocations: 7.984 kB / 0.7942 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4036, allocations: 19.92 kB / 0.7942 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.4036, allocations: 7.984 kB / 0.7942 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.4037, allocations: 11.98 kB / 0.7942 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.918e-05/0.4038, allocations: 124 kB / 0.7944 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4038, allocations: 0 / 0.7944 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003681/0.4041, allocations: 79.86 kB / 0.7944 GB, free: 5.766 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007165/0.4049, allocations: 0.837 MB / 0.7952 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4051, allocations: 115.8 kB / 0.7954 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4051, allocations: 4.188 kB / 0.7954 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.4052, allocations: 47.92 kB / 0.7954 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4056, allocations: 58.58 kB / 0.7955 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.4079, allocations: 2.046 MB / 0.7975 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4082, allocations: 0.7129 MB / 0.7982 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.4084, allocations: 52.86 kB / 0.7982 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.4085, allocations: 51.42 kB / 0.7983 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.4085, allocations: 0 / 0.7983 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.4358, allocations: 5.516 MB / 0.8036 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.035, allocations: 11.67 kB / 0.8037 GB, free: 12.3 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)