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.006136/0.006136, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001397/0.001397, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7588/0.7588, allocations: 135.1 MB / 425.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 65.95 kB / 0.5852 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.92 MB / 0.6642 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01661/0.1756, allocations: 12.97 MB / 0.6769 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.1787, allocations: 2.667 MB / 0.6795 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1788, allocations: 0 / 0.6795 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1792, allocations: 55.67 kB / 0.6795 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.1796, allocations: 95.34 kB / 0.6796 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.181, allocations: 0.4933 MB / 0.6801 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.1814, allocations: 239.9 kB / 0.6803 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.1815, allocations: 13.56 kB / 0.6804 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009314/0.1908, allocations: 3.581 MB / 0.6839 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1911, allocations: 91.66 kB / 0.6839 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.1911, allocations: 8 kB / 0.684 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.1943, allocations: 1.064 MB / 0.685 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.1944, allocations: 39.83 kB / 0.685 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1945, allocations: 79.66 kB / 0.6851 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009349/0.1955, allocations: 371 kB / 0.6855 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1955, allocations: 4 kB / 0.6855 GB, free: 384 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1955, allocations: 0 / 0.6855 GB, free: 384 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1955, allocations: 0 / 0.6855 GB, free: 384 kB / 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.0008801/0.1964, allocations: 0.4992 MB / 0.686 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1964, allocations: 13.11 kB / 0.686 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.512e-05/0.1965, allocations: 50.73 kB / 0.686 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.1967, allocations: 24.75 kB / 0.686 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1971, allocations: 216.2 kB / 0.6862 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1971, allocations: 16.7 kB / 0.6863 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1972, allocations: 12.38 kB / 0.6863 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.1976, allocations: 248 kB / 0.6865 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1976, allocations: 4 kB / 0.6865 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1976, allocations: 4 kB / 0.6865 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.1977, allocations: 12 kB / 0.6865 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.1982, allocations: 427.5 kB / 0.6869 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1993, allocations: 0.9681 MB / 0.6879 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1996, allocations: 165.6 kB / 0.688 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1997, allocations: 60.89 kB / 0.6881 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.2011, allocations: 1.829 MB / 0.6899 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2011, allocations: 42.55 kB / 0.6899 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/0.2011, allocations: 3.984 kB / 0.6899 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000308/0.2015, allocations: 143.9 kB / 0.6901 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2015, allocations: 55.41 kB / 0.6901 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2017, allocations: 176.1 kB / 0.6903 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2017, allocations: 33.7 kB / 0.6903 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.2018, allocations: 139.8 kB / 0.6904 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.2018, allocations: 55.19 kB / 0.6905 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.2019, allocations: 49.7 kB / 0.6905 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.202, allocations: 322.8 kB / 0.6909 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.2021, allocations: 35.98 kB / 0.6909 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2022, allocations: 137.7 kB / 0.691 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2025, allocations: 204.1 kB / 0.6912 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2025, allocations: 3.938 kB / 0.6912 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003417/0.2028, allocations: 213.2 kB / 0.6914 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2029, allocations: 11.98 kB / 0.6914 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2029, allocations: 0 / 0.6914 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2029, allocations: 11.94 kB / 0.6914 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2031, allocations: 51.92 kB / 0.6915 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2031, allocations: 7.938 kB / 0.6915 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2032, allocations: 27.69 kB / 0.6915 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2033, allocations: 16.39 kB / 0.6915 GB, free: 9.406 MB / 0.5294 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.0001107/0.2034, allocations: 133.7 kB / 0.6917 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.2034, allocations: 15.81 kB / 0.6917 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.2038, allocations: 158.9 kB / 0.6918 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.2038, allocations: 7.875 kB / 0.6918 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2038, allocations: 4 kB / 0.6919 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2038, allocations: 3.984 kB / 0.6919 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.2041, allocations: 213.5 kB / 0.6921 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2041, allocations: 0 / 0.6921 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.2042, allocations: 27.98 kB / 0.6921 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2042, allocations: 0 / 0.6921 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2042, allocations: 4 kB / 0.6921 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.2042, allocations: 11.92 kB / 0.6921 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2042, allocations: 0 / 0.6921 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.2045, allocations: 218.1 kB / 0.6923 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2046, allocations: 108.9 kB / 0.6924 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2046, allocations: 8 kB / 0.6924 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2048, allocations: 23.92 kB / 0.6924 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.2049, allocations: 7.984 kB / 0.6925 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.2049, allocations: 11.98 kB / 0.6925 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.618e-05/0.205, allocations: 120 kB / 0.6926 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.205, allocations: 0 / 0.6926 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003819/0.2054, allocations: 79.94 kB / 0.6927 GB, free: 8.18 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.0007544/0.2061, allocations: 0.8383 MB / 0.6935 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2064, allocations: 123.9 kB / 0.6936 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2064, allocations: 0 / 0.6936 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.2065, allocations: 43.92 kB / 0.6936 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2069, allocations: 56.64 kB / 0.6937 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.209, allocations: 2.041 MB / 0.6957 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2093, allocations: 0.7167 MB / 0.6964 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.2094, allocations: 53.73 kB / 0.6964 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.2095, allocations: 43.42 kB / 0.6965 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2095, allocations: 0 / 0.6965 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.233, allocations: 5.532 MB / 0.7019 GB, free: 14.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.898, allocations: 5.984 kB / 0.7019 GB, free: 14.64 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)