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.001246/0.001246, 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.001362/0.001362, allocations: 193.8 kB / 16.14 MB, free: 6.715 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 275.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003954/0.003954, allocations: 104.6 kB / 0.6057 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1762, allocations: 89.14 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01859/0.1949, allocations: 13.86 MB / 0.7063 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.198, allocations: 2.703 MB / 0.709 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.1981, allocations: 0 / 0.709 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1984, allocations: 43.73 kB / 0.709 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1986, allocations: 83.48 kB / 0.7091 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1997, allocations: 457.5 kB / 0.7095 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.2, allocations: 311.8 kB / 0.7098 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.2, allocations: 13.55 kB / 0.7098 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00784/0.2079, allocations: 3.15 MB / 0.7129 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2081, allocations: 95.59 kB / 0.713 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.2081, allocations: 12 kB / 0.713 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2105, allocations: 0.9766 MB / 0.714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.2106, allocations: 43.89 kB / 0.714 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.2107, allocations: 75.66 kB / 0.7141 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.2114, allocations: 367 kB / 0.7144 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2114, allocations: 0 / 0.7144 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2114, allocations: 0 / 0.7144 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2114, allocations: 0 / 0.7144 GB, free: 14.61 MB / 0.5137 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.0008389/0.2123, allocations: 0.5048 MB / 0.7149 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2123, allocations: 11.97 kB / 0.7149 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2125, allocations: 24.73 kB / 0.7149 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.2128, allocations: 224 kB / 0.7152 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2128, allocations: 8.703 kB / 0.7152 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.2128, allocations: 28.25 kB / 0.7152 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.2133, allocations: 244.1 kB / 0.7154 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2133, allocations: 0 / 0.7154 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2133, allocations: 8 kB / 0.7154 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.2134, allocations: 8 kB / 0.7154 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.2139, allocations: 439.4 kB / 0.7159 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2152, allocations: 0.9528 MB / 0.7168 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.2155, allocations: 161.5 kB / 0.7169 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2156, allocations: 60.88 kB / 0.717 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.2172, allocations: 1.844 MB / 0.7188 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.2172, allocations: 34.56 kB / 0.7188 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2172, allocations: 0 / 0.7188 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003504/0.2176, allocations: 137.5 kB / 0.719 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2177, allocations: 59.33 kB / 0.719 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2178, allocations: 167.3 kB / 0.7192 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.2179, allocations: 29.7 kB / 0.7192 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.218, allocations: 147.7 kB / 0.7194 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.218, allocations: 55.3 kB / 0.7194 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.2181, allocations: 53.61 kB / 0.7195 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2183, allocations: 326.8 kB / 0.7198 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.43e-05/0.2184, allocations: 35.97 kB / 0.7198 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2185, allocations: 137.7 kB / 0.7199 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.2188, allocations: 191.4 kB / 0.7201 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2188, allocations: 4 kB / 0.7201 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004183/0.2192, allocations: 219.4 kB / 0.7203 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2193, allocations: 9.25 kB / 0.7203 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2193, allocations: 7.938 kB / 0.7203 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2193, allocations: 4 kB / 0.7203 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2195, allocations: 55.86 kB / 0.7204 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2195, allocations: 11.98 kB / 0.7204 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2196, allocations: 23.75 kB / 0.7204 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2197, allocations: 12 kB / 0.7204 GB, free: 7.703 MB / 0.5137 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.0001215/0.2198, allocations: 143.1 kB / 0.7206 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2198, allocations: 15.81 kB / 0.7206 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.2202, allocations: 160.9 kB / 0.7208 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2202, allocations: 7.922 kB / 0.7208 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2202, allocations: 0 / 0.7208 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2202, allocations: 0 / 0.7208 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.2205, allocations: 213.5 kB / 0.721 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2205, allocations: 3.984 kB / 0.721 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.2206, allocations: 23.94 kB / 0.721 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2206, allocations: 11.94 kB / 0.721 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2206, allocations: 7.984 kB / 0.721 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2206, allocations: 3.938 kB / 0.721 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2206, allocations: 4 kB / 0.721 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2209, allocations: 216.3 kB / 0.7212 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.221, allocations: 112.8 kB / 0.7213 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.221, allocations: 0 / 0.7213 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.2212, allocations: 23.92 kB / 0.7214 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.2213, allocations: 11.98 kB / 0.7214 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2213, allocations: 8 kB / 0.7214 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.2214, allocations: 121.6 kB / 0.7215 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2214, allocations: 0 / 0.7215 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003797/0.2218, allocations: 79.98 kB / 0.7216 GB, free: 6.469 MB / 0.5137 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.0003626/0.2222, allocations: 194.9 kB / 0.7218 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2224, allocations: 114.4 kB / 0.7219 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2224, allocations: 8.312 kB / 0.7219 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.2225, allocations: 43.92 kB / 0.7219 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.2229, allocations: 47.95 kB / 0.722 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.2237, allocations: 388.4 kB / 0.7223 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.224, allocations: 0.7131 MB / 0.723 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.2242, allocations: 48.12 kB / 0.7231 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.2243, allocations: 31.42 kB / 0.7231 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2243, allocations: 0 / 0.7231 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.007586/0.2318, allocations: 3.542 MB / 0.7266 GB, free: 1.344 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)