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.00177/0.00177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001996/0.001996, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 291 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 98.86 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1739, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01767/0.1916, allocations: 13.1 MB / 0.7058 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1948, allocations: 2.663 MB / 0.7084 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.1949, allocations: 4 kB / 0.7084 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1951, allocations: 39.75 kB / 0.7084 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1954, allocations: 95.47 kB / 0.7085 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1966, allocations: 463 kB / 0.7089 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1968, allocations: 239.9 kB / 0.7092 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.1969, allocations: 13.56 kB / 0.7092 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008087/0.205, allocations: 3.352 MB / 0.7125 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.2052, allocations: 95.59 kB / 0.7125 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2052, allocations: 8 kB / 0.7126 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2078, allocations: 1.056 MB / 0.7136 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.2079, allocations: 43.78 kB / 0.7136 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.208, allocations: 75.66 kB / 0.7137 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.2089, allocations: 375 kB / 0.7141 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2089, allocations: 0 / 0.7141 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2089, allocations: 0 / 0.7141 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2089, allocations: 0 / 0.7141 GB, free: 15.05 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.0008609/0.2098, allocations: 0.507 MB / 0.7146 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2098, allocations: 8.031 kB / 0.7146 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.21, allocations: 20.75 kB / 0.7146 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2103, allocations: 216.1 kB / 0.7148 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2103, allocations: 16.64 kB / 0.7148 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2103, allocations: 20.38 kB / 0.7148 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.2107, allocations: 248.1 kB / 0.7151 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2108, allocations: 0 / 0.7151 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2108, allocations: 12 kB / 0.7151 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2108, allocations: 7.938 kB / 0.7151 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.2114, allocations: 435.5 kB / 0.7155 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2126, allocations: 0.9566 MB / 0.7164 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.2129, allocations: 157.4 kB / 0.7166 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.213, allocations: 64.88 kB / 0.7166 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.2146, allocations: 1.836 MB / 0.7184 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2146, allocations: 38.56 kB / 0.7185 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.2146, allocations: 0 / 0.7185 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003548/0.215, allocations: 150.8 kB / 0.7186 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.215, allocations: 55.34 kB / 0.7187 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2152, allocations: 159.4 kB / 0.7188 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2153, allocations: 37.62 kB / 0.7189 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.2154, allocations: 147.7 kB / 0.719 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.2154, allocations: 47.3 kB / 0.719 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.2155, allocations: 61.61 kB / 0.7191 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2156, allocations: 318.8 kB / 0.7194 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.2157, allocations: 43.91 kB / 0.7194 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2159, allocations: 137.7 kB / 0.7196 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2161, allocations: 199.2 kB / 0.7198 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2162, allocations: 3.938 kB / 0.7198 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003553/0.2165, allocations: 210.6 kB / 0.72 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2165, allocations: 8 kB / 0.72 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2166, allocations: 4 kB / 0.72 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2166, allocations: 4 kB / 0.72 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2168, allocations: 55.84 kB / 0.72 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2168, allocations: 8 kB / 0.72 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2169, allocations: 27.69 kB / 0.7201 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2169, allocations: 16 kB / 0.7201 GB, free: 8.141 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.000139/0.2171, allocations: 139.1 kB / 0.7202 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.2171, allocations: 19.8 kB / 0.7202 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.2175, allocations: 159.9 kB / 0.7204 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2175, allocations: 7.938 kB / 0.7204 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2175, allocations: 0 / 0.7204 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2175, allocations: 0 / 0.7204 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.2178, allocations: 209.6 kB / 0.7206 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2178, allocations: 0 / 0.7206 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.2179, allocations: 31.92 kB / 0.7206 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2179, allocations: 0 / 0.7206 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2179, allocations: 11.98 kB / 0.7206 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2179, allocations: 3.938 kB / 0.7206 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2179, allocations: 4 kB / 0.7206 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.2182, allocations: 216.4 kB / 0.7209 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2183, allocations: 112.9 kB / 0.721 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2183, allocations: 4 kB / 0.721 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2185, allocations: 19.92 kB / 0.721 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.2186, allocations: 11.98 kB / 0.721 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.2186, allocations: 15.98 kB / 0.721 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.557e-05/0.2187, allocations: 121.1 kB / 0.7211 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.244e-06/0.2187, allocations: 0 / 0.7211 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004207/0.2191, allocations: 87.88 kB / 0.7212 GB, free: 6.902 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.0003421/0.2195, allocations: 175.2 kB / 0.7214 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.2198, allocations: 128.5 kB / 0.7215 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2198, allocations: 192 / 0.7215 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.2199, allocations: 57.95 kB / 0.7216 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.2203, allocations: 48.89 kB / 0.7216 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.2211, allocations: 398.8 kB / 0.722 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.2214, allocations: 0.709 MB / 0.7227 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001937/0.2216, allocations: 55.3 kB / 0.7227 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.2217, allocations: 23.44 kB / 0.7227 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2217, allocations: 0 / 0.7227 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.008174/0.2299, allocations: 3.633 MB / 0.7263 GB, free: 1.68 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)