Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.386/1.386, allocations: 288.4 MB / 303.6 MB, free: 8.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 184.5 kB / 372.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.4 MB / 0.631 GB, free: 14.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006563/0.0006564, allocations: 91.28 kB / 0.7443 GB, free: 63.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 19.98 kB / 0.8676 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 115.3 MB / 0.9802 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01252/0.1817, allocations: 12 MB / 0.9919 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.184, allocations: 2.436 MB / 0.9943 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.1842, allocations: 0 / 0.9943 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1844, allocations: 31.81 kB / 0.9943 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1846, allocations: 91.47 kB / 0.9944 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1857, allocations: 414.3 kB / 0.9948 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1859, allocations: 267.9 kB / 0.995 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.186, allocations: 9.562 kB / 0.9951 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007589/0.1936, allocations: 4.381 MB / 0.9993 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1938, allocations: 83.66 kB / 0.9994 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1938, allocations: 8 kB / 0.9994 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.1961, allocations: 0.9922 MB / 1 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1962, allocations: 39.83 kB / 1 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1963, allocations: 101.4 kB / 1.001 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1967, allocations: 239.5 kB / 1.001 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1967, allocations: 0 / 1.001 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1967, allocations: 0 / 1.001 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1968, allocations: 4 kB / 1.001 GB, free: 7.988 MB / 0.7292 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.000588/0.1973, allocations: 463.4 kB / 1.001 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1974, allocations: 12.03 kB / 1.001 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.1975, allocations: 54.67 kB / 1.001 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.1976, allocations: 24.75 kB / 1.001 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1978, allocations: 216.1 kB / 1.001 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1978, allocations: 16.62 kB / 1.002 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1978, allocations: 16.38 kB / 1.002 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1982, allocations: 244.1 kB / 1.002 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1982, allocations: 3.938 kB / 1.002 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1983, allocations: 8 kB / 1.002 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.1983, allocations: 7.984 kB / 1.002 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.1987, allocations: 435.2 kB / 1.002 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1998, allocations: 0.9642 MB / 1.003 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.2001, allocations: 159 kB / 1.003 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.2002, allocations: 60.88 kB / 1.003 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.2014, allocations: 1.833 MB / 1.005 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2015, allocations: 38.56 kB / 1.005 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2015, allocations: 4 kB / 1.005 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0002865/0.2018, allocations: 143.3 kB / 1.005 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2018, allocations: 51.41 kB / 1.005 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.202, allocations: 171.2 kB / 1.006 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.202, allocations: 33.7 kB / 1.006 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.2021, allocations: 143.7 kB / 1.006 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2021, allocations: 55.19 kB / 1.006 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.2021, allocations: 8 kB / 1.006 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.2022, allocations: 322.8 kB / 1.006 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.2023, allocations: 43.98 kB / 1.006 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2024, allocations: 133.7 kB / 1.006 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2026, allocations: 199.4 kB / 1.006 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2026, allocations: 8 kB / 1.006 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002815/0.2029, allocations: 205.2 kB / 1.007 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2029, allocations: 4 kB / 1.007 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.203, allocations: 4.469 kB / 1.007 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.203, allocations: 15.94 kB / 1.007 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2032, allocations: 55.91 kB / 1.007 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2032, allocations: 7.938 kB / 1.007 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2033, allocations: 31.69 kB / 1.007 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2033, allocations: 12 kB / 1.007 GB, free: 1.117 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/0.2034, allocations: 129.8 kB / 1.007 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.2035, allocations: 23.8 kB / 1.007 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.2037, allocations: 161.2 kB / 1.007 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2038, allocations: 3.938 kB / 1.007 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2038, allocations: 0 / 1.007 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2038, allocations: 4 kB / 1.007 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.204, allocations: 217.4 kB / 1.007 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.204, allocations: 0 / 1.007 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.49e-05/0.2041, allocations: 23.94 kB / 1.007 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.2041, allocations: 7.984 kB / 1.007 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2041, allocations: 0 / 1.007 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2041, allocations: 3.938 kB / 1.007 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2041, allocations: 0 / 1.007 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2043, allocations: 219.3 kB / 1.008 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.2044, allocations: 113 kB / 1.008 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.2044, allocations: 0 / 1.008 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2046, allocations: 11.94 kB / 1.008 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.2046, allocations: 11.98 kB / 1.008 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2047, allocations: 15.92 kB / 1.008 GB, free: 100 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.79e-05/0.2048, allocations: 120.9 kB / 1.008 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 7.938 kB / 1.008 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003405/0.2051, allocations: 79.83 kB / 1.008 GB, free: 15.89 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/0.2057, allocations: 0.8277 MB / 1.009 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.2059, allocations: 107.8 kB / 1.009 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.206, allocations: 0.9375 kB / 1.009 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.206, allocations: 47.86 kB / 1.009 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.2064, allocations: 59.89 kB / 1.009 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2077, allocations: 0.9968 MB / 1.01 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2079, allocations: 0.7131 MB / 1.011 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.2081, allocations: 49.69 kB / 1.011 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.2082, allocations: 51.36 kB / 1.011 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.2082, allocations: 0 / 1.011 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/0.5241, allocations: 5.06 MB / 1.016 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.5244, allocations: 204.4 kB / 1.016 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.686, allocations: 0 / 1.016 GB, free: 7.75 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)