Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7708/0.7708, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 188.9 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009588, allocations: 100.4 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.0019, allocations: 277 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.944e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4928, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8687/1.362, allocations: 409.5 MB / 1.164 GB, free: 13.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.362, allocations: 87.33 kB / 1.164 GB, free: 13.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6633/2.025, allocations: 87.43 MB / 1.25 GB, free: 216.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.225e-06/2.025, allocations: 0 / 1.25 GB, free: 216.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.869e-06/2.025, allocations: 0 / 1.25 GB, free: 216.6 MB / 0.698 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.002923/2.028, allocations: 0.7362 MB / 1.25 GB, free: 215.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/2.028, allocations: 8.031 kB / 1.25 GB, free: 215.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/2.028, allocations: 50.53 kB / 1.25 GB, free: 215.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/2.028, allocations: 31.73 kB / 1.251 GB, free: 215.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/2.029, allocations: 214.8 kB / 1.251 GB, free: 215.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/2.029, allocations: 12.33 kB / 1.251 GB, free: 215.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/2.029, allocations: 16 kB / 1.251 GB, free: 215.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/2.029, allocations: 236.1 kB / 1.251 GB, free: 215.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/2.029, allocations: 0 / 1.251 GB, free: 215.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/2.029, allocations: 12 kB / 1.251 GB, free: 215.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/2.029, allocations: 8 kB / 1.251 GB, free: 215.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/2.03, allocations: 423.4 kB / 1.251 GB, free: 214.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/2.03, allocations: 1.027 MB / 1.252 GB, free: 213.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/2.031, allocations: 157.2 kB / 1.253 GB, free: 213.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/2.031, allocations: 60.84 kB / 1.253 GB, free: 213.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/2.032, allocations: 1.972 MB / 1.255 GB, free: 211.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/2.032, allocations: 38.56 kB / 1.255 GB, free: 211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/2.032, allocations: 0 / 1.255 GB, free: 211 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0002469/2.032, allocations: 113.4 kB / 1.255 GB, free: 210.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/2.032, allocations: 55.34 kB / 1.255 GB, free: 210.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/2.032, allocations: 153.7 kB / 1.255 GB, free: 210.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/2.032, allocations: 33.7 kB / 1.255 GB, free: 210.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/2.032, allocations: 139.8 kB / 1.255 GB, free: 210.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/2.032, allocations: 47.3 kB / 1.255 GB, free: 210.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/2.032, allocations: 12 kB / 1.255 GB, free: 210.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/2.032, allocations: 322.8 kB / 1.255 GB, free: 210.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/2.033, allocations: 35.98 kB / 1.255 GB, free: 210.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/2.033, allocations: 143.2 kB / 1.256 GB, free: 209.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/2.033, allocations: 54.02 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.033, allocations: 4 kB / 1.256 GB, free: 209.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002517/2.033, allocations: 213.1 kB / 1.256 GB, free: 209.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/2.033, allocations: 4 kB / 1.256 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/2.033, allocations: 4 kB / 1.256 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/2.033, allocations: 15.94 kB / 1.256 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/2.033, allocations: 51.92 kB / 1.256 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/2.033, allocations: 12.39 kB / 1.256 GB, free: 209.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/2.033, allocations: 27.75 kB / 1.256 GB, free: 209.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/2.033, allocations: 12 kB / 1.256 GB, free: 209.5 MB / 0.698 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 6.721e-05/2.033, allocations: 120.9 kB / 1.256 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/2.033, allocations: 19.81 kB / 1.256 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/2.034, allocations: 156.8 kB / 1.256 GB, free: 209.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/2.034, allocations: 4 kB / 1.256 GB, free: 209.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/2.034, allocations: 7.938 kB / 1.256 GB, free: 209.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/2.034, allocations: 0 / 1.256 GB, free: 209.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/2.034, allocations: 221.5 kB / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/2.034, allocations: 0 / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/2.034, allocations: 31.92 kB / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/2.034, allocations: 7.938 kB / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/2.034, allocations: 4 kB / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/2.034, allocations: 0 / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/2.034, allocations: 0 / 1.256 GB, free: 208.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/2.034, allocations: 219.2 kB / 1.257 GB, free: 208.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/2.034, allocations: 128.8 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/2.034, allocations: 4 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/2.035, allocations: 19.98 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/2.035, allocations: 7.984 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/2.035, allocations: 15.98 kB / 1.257 GB, free: 208.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.388e-05/2.035, allocations: 120.9 kB / 1.257 GB, free: 208.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.035, allocations: 0 / 1.257 GB, free: 208.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004081/2.035, allocations: 91.92 kB / 1.257 GB, free: 208.2 MB / 0.698 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.0005435/2.036, allocations: 0.8674 MB / 1.258 GB, free: 207.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001858/2.036, allocations: 124.7 kB / 1.258 GB, free: 207.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.036, allocations: 0 / 1.258 GB, free: 207.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/2.036, allocations: 43.92 kB / 1.258 GB, free: 207.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/2.036, allocations: 48.72 kB / 1.258 GB, free: 207.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/2.037, allocations: 245.9 kB / 1.258 GB, free: 206.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/2.037, allocations: 0.7169 MB / 1.259 GB, free: 206.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001701/2.037, allocations: 55.34 kB / 1.259 GB, free: 206.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/2.037, allocations: 47.42 kB / 1.259 GB, free: 206 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/2.037, allocations: 0 / 1.259 GB, free: 206 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/2.055, allocations: 6.275 MB / 1.265 GB, free: 200 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/2.055, allocations: 176.1 kB / 1.265 GB, free: 199.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.852, allocations: 8 kB / 1.265 GB, free: 199.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)