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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 198.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 280.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9737/0.9737, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 92.09 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1705, allocations: 86.99 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01643/0.187, allocations: 13.86 MB / 0.693 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1898, allocations: 2.691 MB / 0.6956 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.1899, allocations: 4 kB / 0.6956 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1903, allocations: 35.81 kB / 0.6956 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1906, allocations: 91.47 kB / 0.6957 GB, free: 460 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1918, allocations: 459.2 kB / 0.6962 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.1922, allocations: 307.9 kB / 0.6965 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1922, allocations: 9.562 kB / 0.6965 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007934/0.2002, allocations: 3.15 MB / 0.6995 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2004, allocations: 91.64 kB / 0.6996 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.2004, allocations: 8 kB / 0.6996 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.2028, allocations: 0.9894 MB / 0.7006 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.2029, allocations: 39.88 kB / 0.7006 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2031, allocations: 75.66 kB / 0.7007 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.2037, allocations: 371 kB / 0.7011 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2037, allocations: 3.984 kB / 0.7011 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2037, allocations: 0 / 0.7011 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.2038, allocations: 0 / 0.7011 GB, free: 10.96 MB / 0.4981 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.0007743/0.2045, allocations: 0.5011 MB / 0.7016 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2046, allocations: 8.031 kB / 0.7016 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2048, allocations: 20.75 kB / 0.7016 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.205, allocations: 220.1 kB / 0.7018 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.205, allocations: 8.703 kB / 0.7018 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.205, allocations: 16.38 kB / 0.7018 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2054, allocations: 260.8 kB / 0.7021 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2055, allocations: 0 / 0.7021 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2055, allocations: 12 kB / 0.7021 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2055, allocations: 4 kB / 0.7021 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.206, allocations: 435.3 kB / 0.7025 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2071, allocations: 0.9604 MB / 0.7034 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.2074, allocations: 165.8 kB / 0.7036 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.2075, allocations: 62.2 kB / 0.7037 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.2088, allocations: 1.84 MB / 0.7055 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2089, allocations: 30.56 kB / 0.7055 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.2089, allocations: 0 / 0.7055 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003362/0.2092, allocations: 147.9 kB / 0.7056 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2092, allocations: 63.28 kB / 0.7057 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2094, allocations: 169 kB / 0.7058 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2094, allocations: 29.7 kB / 0.7059 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.2095, allocations: 139.8 kB / 0.706 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.2095, allocations: 55.19 kB / 0.7061 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.2096, allocations: 57.69 kB / 0.7061 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2097, allocations: 322.8 kB / 0.7064 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.2098, allocations: 31.98 kB / 0.7065 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.21, allocations: 155.4 kB / 0.7066 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2102, allocations: 189.5 kB / 0.7068 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2102, allocations: 7.938 kB / 0.7068 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000312/0.2105, allocations: 215.2 kB / 0.707 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2105, allocations: 8 kB / 0.707 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2105, allocations: 4 kB / 0.707 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2106, allocations: 7.984 kB / 0.707 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2107, allocations: 55.8 kB / 0.7071 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2108, allocations: 8.469 kB / 0.7071 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2109, allocations: 31.69 kB / 0.7071 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2109, allocations: 19.98 kB / 0.7071 GB, free: 4.031 MB / 0.4981 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.000112/0.211, allocations: 125.8 kB / 0.7072 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.2111, allocations: 15.81 kB / 0.7073 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.2114, allocations: 154.9 kB / 0.7074 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.2114, allocations: 3.938 kB / 0.7074 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2114, allocations: 0 / 0.7074 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2114, allocations: 7.984 kB / 0.7074 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.2117, allocations: 217.5 kB / 0.7076 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2117, allocations: 4 kB / 0.7076 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.2118, allocations: 23.98 kB / 0.7077 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2118, allocations: 4 kB / 0.7077 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2118, allocations: 0 / 0.7077 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2118, allocations: 3.938 kB / 0.7077 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2118, allocations: 0 / 0.7077 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.212, allocations: 229.1 kB / 0.7079 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.2121, allocations: 104.9 kB / 0.708 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2122, allocations: 7.938 kB / 0.708 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2124, allocations: 15.92 kB / 0.708 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.2124, allocations: 15.98 kB / 0.708 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2124, allocations: 11.98 kB / 0.708 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.523e-05/0.2125, allocations: 119.2 kB / 0.7081 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2125, allocations: 0 / 0.7081 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003753/0.2129, allocations: 79.98 kB / 0.7082 GB, free: 2.82 MB / 0.4981 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.0003413/0.2133, allocations: 187 kB / 0.7084 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2135, allocations: 123.8 kB / 0.7085 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2135, allocations: 4 kB / 0.7085 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.2136, allocations: 47.86 kB / 0.7086 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.214, allocations: 54.06 kB / 0.7086 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.2147, allocations: 384.5 kB / 0.709 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.215, allocations: 0.717 MB / 0.7097 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00018/0.2152, allocations: 48.5 kB / 0.7097 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.2153, allocations: 23.44 kB / 0.7098 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2153, allocations: 3.938 kB / 0.7098 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of Templates: time 0.006962/0.2222, allocations: 3.523 MB / 0.7132 GB, free: 13.71 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)