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 2.297/2.297, allocations: 252 MB / 267.3 MB, free: 10.8 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.001705/0.001705, allocations: 182.6 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.003/3.003, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.001023/0.001023, allocations: 78.42 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004715, allocations: 8.281 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01963/0.3623, allocations: 13.35 MB / 0.914 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.3656, allocations: 2.617 MB / 0.9165 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3658, allocations: 0 / 0.9165 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.3662, allocations: 39.8 kB / 0.9165 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.3667, allocations: 87.48 kB / 0.9166 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3687, allocations: 430.2 kB / 0.917 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.3691, allocations: 299.8 kB / 0.9173 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3692, allocations: 9.562 kB / 0.9173 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.3805, allocations: 3.17 MB / 0.9204 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.3808, allocations: 91.66 kB / 0.9205 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.3808, allocations: 8 kB / 0.9205 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.3842, allocations: 0.942 MB / 0.9214 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.589e-05/0.3843, allocations: 31.84 kB / 0.9215 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3844, allocations: 105.3 kB / 0.9216 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3855, allocations: 355.1 kB / 0.9219 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3856, allocations: 0 / 0.9219 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3856, allocations: 4 kB / 0.9219 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3856, allocations: 0 / 0.9219 GB, free: 41.78 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.0008236/0.3864, allocations: 467.3 kB / 0.9224 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3865, allocations: 8.031 kB / 0.9224 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.3866, allocations: 54.73 kB / 0.9224 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.3868, allocations: 20.75 kB / 0.9224 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.387, allocations: 216.1 kB / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.387, allocations: 12.7 kB / 0.9227 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.3871, allocations: 12.38 kB / 0.9227 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.3875, allocations: 257.5 kB / 0.9229 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3875, allocations: 0 / 0.9229 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3875, allocations: 8 kB / 0.9229 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.3876, allocations: 8 kB / 0.9229 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.3881, allocations: 427.4 kB / 0.9233 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3893, allocations: 1.019 MB / 0.9243 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3897, allocations: 151.1 kB / 0.9245 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3898, allocations: 64.88 kB / 0.9245 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.391, allocations: 1.829 MB / 0.9263 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3911, allocations: 42.56 kB / 0.9264 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.3911, allocations: 0 / 0.9264 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004073/0.3915, allocations: 145.3 kB / 0.9265 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3916, allocations: 55.41 kB / 0.9266 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3917, allocations: 162.2 kB / 0.9267 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3917, allocations: 33.64 kB / 0.9267 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3918, allocations: 139.8 kB / 0.9269 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.3919, allocations: 55.2 kB / 0.9269 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.3919, allocations: 15.92 kB / 0.9269 GB, free: 36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.392, allocations: 326.8 kB / 0.9273 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.3921, allocations: 39.97 kB / 0.9273 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3922, allocations: 137.7 kB / 0.9274 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3925, allocations: 206.6 kB / 0.9276 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3925, allocations: 0 / 0.9276 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000404/0.3929, allocations: 211.2 kB / 0.9278 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3929, allocations: 12.06 kB / 0.9278 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3929, allocations: 4 kB / 0.9278 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.393, allocations: 7.938 kB / 0.9279 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3932, allocations: 47.92 kB / 0.9279 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3933, allocations: 7.984 kB / 0.9279 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3934, allocations: 35.62 kB / 0.9279 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3935, allocations: 12 kB / 0.928 GB, free: 34.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.3936, allocations: 138.3 kB / 0.9281 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.3937, allocations: 15.91 kB / 0.9281 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.3941, allocations: 155.1 kB / 0.9282 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.3941, allocations: 7.938 kB / 0.9283 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3941, allocations: 0 / 0.9283 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3941, allocations: 0 / 0.9283 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3944, allocations: 213.6 kB / 0.9285 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3944, allocations: 0 / 0.9285 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3946, allocations: 31.92 kB / 0.9285 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3946, allocations: 0 / 0.9285 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3946, allocations: 0 / 0.9285 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3946, allocations: 11.94 kB / 0.9285 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3946, allocations: 3.984 kB / 0.9285 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3949, allocations: 222 kB / 0.9287 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.395, allocations: 104.9 kB / 0.9288 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.395, allocations: 4 kB / 0.9288 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3953, allocations: 15.92 kB / 0.9288 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3954, allocations: 11.98 kB / 0.9288 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3954, allocations: 8 kB / 0.9289 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.3955, allocations: 124.8 kB / 0.929 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3955, allocations: 0 / 0.929 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005698/0.3961, allocations: 75.92 kB / 0.929 GB, free: 33.65 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 (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.0007403/0.3968, allocations: 0.8409 MB / 0.9299 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3971, allocations: 120.6 kB / 0.93 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3971, allocations: 4 kB / 0.93 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.3972, allocations: 50.81 kB / 0.93 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.3979, allocations: 47.91 kB / 0.9301 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4003, allocations: 2.129 MB / 0.9322 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.4005, allocations: 0.7167 MB / 0.9329 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.4008, allocations: 45.75 kB / 0.9329 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.4009, allocations: 43.42 kB / 0.9329 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.4009, allocations: 0 / 0.9329 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/0.4634, allocations: 5.065 MB / 0.9379 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.4636, allocations: 228 kB / 0.9381 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/3.588, allocations: 4 kB / 0.9381 GB, free: 24.29 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)