Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 188.5 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008028/0.0008027, allocations: 86.2 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004619, allocations: 10.88 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1986, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01087/0.2095, allocations: 11.99 MB / 0.912 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2116, allocations: 2.432 MB / 0.9144 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2117, allocations: 0 / 0.9144 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.212, allocations: 35.8 kB / 0.9144 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.2122, allocations: 83.44 kB / 0.9145 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.2132, allocations: 384.8 kB / 0.9149 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.2135, allocations: 255.9 kB / 0.9151 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.2136, allocations: 9.562 kB / 0.9151 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006785/0.2204, allocations: 4.386 MB / 0.9194 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2205, allocations: 87.66 kB / 0.9195 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2206, allocations: 8 kB / 0.9195 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.2227, allocations: 0.9345 MB / 0.9204 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.2228, allocations: 31.89 kB / 0.9204 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.2228, allocations: 53.64 kB / 0.9205 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.2232, allocations: 207.6 kB / 0.9207 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2233, allocations: 7.938 kB / 0.9207 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2233, allocations: 3.938 kB / 0.9207 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2233, allocations: 0 / 0.9207 GB, free: 42.85 MB / 0.6042 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.0006403/0.2239, allocations: 467.2 kB / 0.9211 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.224, allocations: 12.03 kB / 0.9212 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.2241, allocations: 46.55 kB / 0.9212 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.2242, allocations: 27.8 kB / 0.9212 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2245, allocations: 218.8 kB / 0.9214 GB, free: 42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2245, allocations: 12.33 kB / 0.9215 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.2245, allocations: 12 kB / 0.9215 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.2249, allocations: 249.6 kB / 0.9217 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2249, allocations: 0 / 0.9217 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.225, allocations: 15.89 kB / 0.9217 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.225, allocations: 4 kB / 0.9217 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.2254, allocations: 427.4 kB / 0.9221 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/0.2264, allocations: 1.015 MB / 0.9231 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.2266, allocations: 151.1 kB / 0.9233 GB, free: 40 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.2267, allocations: 68.88 kB / 0.9233 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009981/0.2277, allocations: 1.825 MB / 0.9251 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2278, allocations: 42.48 kB / 0.9252 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.2278, allocations: 0 / 0.9252 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002947/0.2281, allocations: 137.6 kB / 0.9253 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2281, allocations: 51.41 kB / 0.9253 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2282, allocations: 170 kB / 0.9255 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2283, allocations: 33.7 kB / 0.9255 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.2283, allocations: 139.8 kB / 0.9257 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2284, allocations: 55.19 kB / 0.9257 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.2284, allocations: 8 kB / 0.9257 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.2285, allocations: 326.8 kB / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.2285, allocations: 43.92 kB / 0.9261 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2287, allocations: 130.8 kB / 0.9262 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.2287, allocations: 59.94 kB / 0.9263 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2288, allocations: 0 / 0.9263 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002758/0.229, allocations: 202.8 kB / 0.9264 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2291, allocations: 10.5 kB / 0.9265 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2291, allocations: 8 kB / 0.9265 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2291, allocations: 7.984 kB / 0.9265 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2293, allocations: 51.92 kB / 0.9265 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.2293, allocations: 11.94 kB / 0.9265 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2295, allocations: 27.69 kB / 0.9266 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2295, allocations: 19.92 kB / 0.9266 GB, free: 36.14 MB / 0.6042 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 0.0001181/0.2296, allocations: 138.3 kB / 0.9267 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2297, allocations: 15.81 kB / 0.9267 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.23, allocations: 155.1 kB / 0.9269 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.23, allocations: 4 kB / 0.9269 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.23, allocations: 0 / 0.9269 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.23, allocations: 3.984 kB / 0.9269 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.2302, allocations: 213.6 kB / 0.9271 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2303, allocations: 3.938 kB / 0.9271 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.2303, allocations: 23.98 kB / 0.9271 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2304, allocations: 0 / 0.9271 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2304, allocations: 8 kB / 0.9271 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2304, allocations: 0 / 0.9271 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2304, allocations: 4 kB / 0.9271 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.2306, allocations: 222 kB / 0.9273 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.2307, allocations: 120.8 kB / 0.9275 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2307, allocations: 3.938 kB / 0.9275 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2309, allocations: 16 kB / 0.9275 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.2309, allocations: 7.984 kB / 0.9275 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2309, allocations: 11.98 kB / 0.9275 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.231, allocations: 124.9 kB / 0.9276 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/0.231, allocations: 0 / 0.9276 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003919/0.2314, allocations: 79.97 kB / 0.9277 GB, free: 34.91 MB / 0.6042 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.00067/0.2321, allocations: 0.8176 MB / 0.9285 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.2324, allocations: 114.9 kB / 0.9286 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.2324, allocations: 0.9375 kB / 0.9286 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.2325, allocations: 43.92 kB / 0.9286 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.2331, allocations: 51.95 kB / 0.9287 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2346, allocations: 1.01 MB / 0.9297 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2348, allocations: 0.7211 MB / 0.9304 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.235, allocations: 57.61 kB / 0.9304 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.2351, allocations: 43.42 kB / 0.9305 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2351, allocations: 0 / 0.9305 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.2523, allocations: 4.903 MB / 0.9353 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.2526, allocations: 205.1 kB / 0.9355 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.96, allocations: 0 / 0.9355 GB, free: 26.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)