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.594/1.594, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008235/0.0008235, allocations: 90.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.006e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.619/1.827, allocations: 430.9 MB / 1.313 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/1.828, allocations: 85.14 kB / 1.313 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2104/2.038, allocations: 85.91 MB / 1.397 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/2.038, allocations: 0 / 1.397 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.006e-05/2.038, allocations: 4 kB / 1.397 GB, free: 200.3 MB / 0.8698 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.00337/2.042, allocations: 0.731 MB / 1.397 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/2.042, allocations: 8.031 kB / 1.397 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/2.042, allocations: 50.23 kB / 1.397 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/2.042, allocations: 23.86 kB / 1.397 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/2.042, allocations: 217.2 kB / 1.398 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/2.042, allocations: 12.14 kB / 1.398 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/2.042, allocations: 15.8 kB / 1.398 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/2.043, allocations: 240.1 kB / 1.398 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/2.043, allocations: 0 / 1.398 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/2.043, allocations: 19.17 kB / 1.398 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/2.043, allocations: 7.938 kB / 1.398 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/2.043, allocations: 429.4 kB / 1.398 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/2.044, allocations: 1.046 MB / 1.399 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/2.045, allocations: 153 kB / 1.399 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/2.045, allocations: 56.98 kB / 1.4 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/2.046, allocations: 1.964 MB / 1.401 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/2.046, allocations: 38.56 kB / 1.401 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/2.046, allocations: 7.938 kB / 1.401 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002748/2.046, allocations: 122.7 kB / 1.402 GB, free: 195 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/2.046, allocations: 55.41 kB / 1.402 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/2.047, allocations: 146 kB / 1.402 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/2.047, allocations: 33.33 kB / 1.402 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/2.047, allocations: 137.6 kB / 1.402 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/2.047, allocations: 50.11 kB / 1.402 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/2.047, allocations: 3.5 kB / 1.402 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/2.047, allocations: 325.6 kB / 1.402 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/2.047, allocations: 39.42 kB / 1.402 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/2.047, allocations: 134.7 kB / 1.402 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/2.047, allocations: 59.03 kB / 1.403 GB, free: 194 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/2.047, allocations: 0 / 1.403 GB, free: 194 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002615/2.047, allocations: 218.5 kB / 1.403 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/2.047, allocations: 8 kB / 1.403 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/2.047, allocations: 4 kB / 1.403 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/2.047, allocations: 4 kB / 1.403 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/2.048, allocations: 63.84 kB / 1.403 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/2.048, allocations: 4 kB / 1.403 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/2.048, allocations: 29.69 kB / 1.403 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/2.048, allocations: 12 kB / 1.403 GB, free: 193.7 MB / 0.8698 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 () * 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 7.742e-05/2.048, allocations: 127.7 kB / 1.403 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/2.048, allocations: 19.84 kB / 1.403 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/2.048, allocations: 155.2 kB / 1.403 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/2.048, allocations: 4 kB / 1.403 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/2.048, allocations: 0 / 1.403 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/2.048, allocations: 3.938 kB / 1.403 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/2.048, allocations: 216.8 kB / 1.403 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/2.048, allocations: 3.984 kB / 1.403 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/2.049, allocations: 31.98 kB / 1.403 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/2.049, allocations: 0 / 1.403 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/2.049, allocations: 3.953 kB / 1.403 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/2.049, allocations: 4 kB / 1.403 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/2.049, allocations: 0 / 1.403 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/2.049, allocations: 216.9 kB / 1.404 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/2.049, allocations: 125.2 kB / 1.404 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/2.049, allocations: 3.938 kB / 1.404 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/2.049, allocations: 14.7 kB / 1.404 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/2.049, allocations: 11.97 kB / 1.404 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/2.049, allocations: 15.17 kB / 1.404 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.009e-05/2.049, allocations: 117 kB / 1.404 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.049, allocations: 0 / 1.404 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004898/2.05, allocations: 88.05 kB / 1.404 GB, free: 192.6 MB / 0.8698 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 () * 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.0006394/2.05, allocations: 0.8686 MB / 1.405 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002303/2.051, allocations: 112.3 kB / 1.405 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.051, allocations: 4 kB / 1.405 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/2.051, allocations: 39.62 kB / 1.405 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/2.051, allocations: 54.16 kB / 1.405 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/2.052, allocations: 239.7 kB / 1.405 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/2.052, allocations: 0.717 MB / 1.406 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001725/2.052, allocations: 53.84 kB / 1.406 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/2.052, allocations: 47.11 kB / 1.406 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/2.052, allocations: 0 / 1.406 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/2.071, allocations: 6.151 MB / 1.412 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/2.071, allocations: 176.7 kB / 1.412 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/3.863, allocations: 0 / 1.412 GB, free: 184.2 MB / 0.8698 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)