Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_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.005066/0.005066, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001318/0.001318, allocations: 206.6 kB / 16.68 MB, free: 5.973 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.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9744/0.9744, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 0.5858 GB, free: 3.105 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01406/0.3739, allocations: 12.97 MB / 0.6776 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.3775, allocations: 2.669 MB / 0.6802 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3776, allocations: 5.469 kB / 0.6802 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3779, allocations: 42.94 kB / 0.6803 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.3782, allocations: 98.38 kB / 0.6803 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3797, allocations: 0.5119 MB / 0.6808 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.38, allocations: 233.6 kB / 0.6811 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.38, allocations: 7.844 kB / 0.6811 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.3903, allocations: 3.583 MB / 0.6846 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.3905, allocations: 92.84 kB / 0.6847 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3905, allocations: 8 kB / 0.6847 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.3932, allocations: 1.076 MB / 0.6857 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.3933, allocations: 38.61 kB / 0.6858 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3934, allocations: 76.06 kB / 0.6858 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.3943, allocations: 375.2 kB / 0.6862 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3943, allocations: 1.375 kB / 0.6862 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3943, allocations: 4 kB / 0.6862 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3943, allocations: 0 / 0.6862 GB, free: 6.449 MB / 0.5137 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.0007975/0.3951, allocations: 0.5059 MB / 0.6867 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3952, allocations: 8.656 kB / 0.6867 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.3953, allocations: 53.23 kB / 0.6867 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3954, allocations: 25.67 kB / 0.6868 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3958, allocations: 213.7 kB / 0.687 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3958, allocations: 12.11 kB / 0.687 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3958, allocations: 22.09 kB / 0.687 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3962, allocations: 242 kB / 0.6872 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3962, allocations: 4 kB / 0.6872 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3963, allocations: 7.875 kB / 0.6873 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.3963, allocations: 12.03 kB / 0.6873 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.3968, allocations: 433 kB / 0.6877 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3982, allocations: 0.9617 MB / 0.6886 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.3985, allocations: 163 kB / 0.6888 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3986, allocations: 62.44 kB / 0.6888 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.4002, allocations: 1.835 MB / 0.6906 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4002, allocations: 36.72 kB / 0.6907 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.4002, allocations: 4.969 kB / 0.6907 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003407/0.4006, allocations: 147.8 kB / 0.6908 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4006, allocations: 56.5 kB / 0.6909 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4009, allocations: 171.8 kB / 0.691 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.4009, allocations: 31.73 kB / 0.6911 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.401, allocations: 143.6 kB / 0.6912 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.4011, allocations: 53.91 kB / 0.6912 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4012, allocations: 52.84 kB / 0.6913 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4013, allocations: 330 kB / 0.6916 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.4014, allocations: 41.53 kB / 0.6916 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.4016, allocations: 135.8 kB / 0.6918 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4019, allocations: 202.1 kB / 0.692 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4019, allocations: 0.9375 kB / 0.692 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003438/0.4023, allocations: 211.9 kB / 0.6922 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4023, allocations: 7.281 kB / 0.6922 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4023, allocations: 3.438 kB / 0.6922 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4023, allocations: 14.16 kB / 0.6922 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.4025, allocations: 56.12 kB / 0.6922 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4025, allocations: 9.188 kB / 0.6923 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.4026, allocations: 27.84 kB / 0.6923 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4027, allocations: 11.28 kB / 0.6923 GB, free: 0.6758 MB / 0.5137 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.000127/0.4028, allocations: 142.7 kB / 0.6924 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.4029, allocations: 16.12 kB / 0.6924 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.4032, allocations: 153.1 kB / 0.6926 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4032, allocations: 10.28 kB / 0.6926 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4032, allocations: 0 / 0.6926 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4032, allocations: 1.125 kB / 0.6926 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.4035, allocations: 217.2 kB / 0.6928 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4035, allocations: 1.344 kB / 0.6928 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.4036, allocations: 23.28 kB / 0.6928 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4036, allocations: 0 / 0.6928 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4036, allocations: 10.52 kB / 0.6928 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4037, allocations: 3.938 kB / 0.6928 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4037, allocations: 1.125 kB / 0.6928 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.404, allocations: 228 kB / 0.6931 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.4041, allocations: 114.8 kB / 0.6932 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4041, allocations: 1.094 kB / 0.6932 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.4043, allocations: 23.78 kB / 0.6932 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.4044, allocations: 8.828 kB / 0.6932 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4044, allocations: 10.69 kB / 0.6932 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.4045, allocations: 118.9 kB / 0.6933 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4045, allocations: 4 kB / 0.6933 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004098/0.4049, allocations: 82.02 kB / 0.6934 GB, free: 15.73 MB / 0.5294 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.0008945/0.4058, allocations: 0.8324 MB / 0.6942 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.4061, allocations: 117.6 kB / 0.6943 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4061, allocations: 0.9375 kB / 0.6943 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.4062, allocations: 49.12 kB / 0.6944 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.4066, allocations: 55.62 kB / 0.6944 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4091, allocations: 2.044 MB / 0.6964 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.4096, allocations: 0.7124 MB / 0.6971 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.4098, allocations: 46.38 kB / 0.6972 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.4098, allocations: 54.48 kB / 0.6972 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.4099, allocations: 0 / 0.6972 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.437, allocations: 5.493 MB / 0.7026 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.358, allocations: 7.031 kB / 0.7026 GB, free: 9.328 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)