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.005005/0.005005, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001149/0.00115, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 274.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.84 kB / 0.6815 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1867, allocations: 86.97 MB / 0.7664 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3362/0.523, allocations: 12.96 MB / 0.7791 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.5251, allocations: 2.675 MB / 0.7817 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.5252, allocations: 0.9062 kB / 0.7817 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.5255, allocations: 50.55 kB / 0.7818 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.5258, allocations: 85.09 kB / 0.7818 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.5267, allocations: 0.5008 MB / 0.7823 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.527, allocations: 234.2 kB / 0.7826 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.527, allocations: 13.36 kB / 0.7826 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008804/0.5358, allocations: 3.587 MB / 0.7861 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.5361, allocations: 90.59 kB / 0.7862 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.5361, allocations: 8.812 kB / 0.7862 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.5388, allocations: 1.066 MB / 0.7872 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.5389, allocations: 43.12 kB / 0.7872 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.087e-05/0.539, allocations: 83.61 kB / 0.7873 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.5397, allocations: 355.7 kB / 0.7877 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5397, allocations: 0 / 0.7877 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5397, allocations: 0 / 0.7877 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5397, allocations: 2.719 kB / 0.7877 GB, free: 5.406 MB / 0.5606 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.0006152/0.5404, allocations: 0.5052 MB / 0.7882 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5404, allocations: 9.766 kB / 0.7882 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.5406, allocations: 24.88 kB / 0.7882 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.5408, allocations: 219 kB / 0.7884 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5408, allocations: 12.33 kB / 0.7884 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.5409, allocations: 21.78 kB / 0.7884 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.5412, allocations: 251.2 kB / 0.7887 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5412, allocations: 0 / 0.7887 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.5412, allocations: 14.53 kB / 0.7887 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5413, allocations: 8.859 kB / 0.7887 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.5417, allocations: 431.9 kB / 0.7891 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.5426, allocations: 0.9613 MB / 0.7901 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.5429, allocations: 172 kB / 0.7902 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.543, allocations: 59.62 kB / 0.7903 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.5441, allocations: 1.836 MB / 0.7921 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5441, allocations: 33.38 kB / 0.7921 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.5441, allocations: 0 / 0.7921 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003205/0.5445, allocations: 150.6 kB / 0.7922 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5445, allocations: 58.7 kB / 0.7923 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.5447, allocations: 180.3 kB / 0.7925 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.5447, allocations: 25.7 kB / 0.7925 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.5448, allocations: 142.5 kB / 0.7926 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.5448, allocations: 50.61 kB / 0.7927 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.5449, allocations: 52.7 kB / 0.7927 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.545, allocations: 323.6 kB / 0.793 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.5451, allocations: 38.31 kB / 0.7931 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.5452, allocations: 138.8 kB / 0.7932 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5453, allocations: 196.2 kB / 0.7934 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5454, allocations: 0 / 0.7934 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002928/0.5457, allocations: 222 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5457, allocations: 8.219 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5457, allocations: 2.75 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5457, allocations: 5.984 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5459, allocations: 50.73 kB / 0.7937 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5459, allocations: 11.09 kB / 0.7937 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.546, allocations: 28.34 kB / 0.7937 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.546, allocations: 20.06 kB / 0.7937 GB, free: 16.15 MB / 0.5762 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.0001121/0.5461, allocations: 134.3 kB / 0.7939 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.5462, allocations: 11.84 kB / 0.7939 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.5465, allocations: 165.1 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5465, allocations: 3.625 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5465, allocations: 4.75 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5465, allocations: 0.8438 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.5467, allocations: 216.3 kB / 0.7942 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5467, allocations: 0 / 0.7942 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.5468, allocations: 31.11 kB / 0.7943 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5468, allocations: 0 / 0.7943 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5469, allocations: 5.141 kB / 0.7943 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5469, allocations: 0 / 0.7943 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.5469, allocations: 7.5 kB / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.5471, allocations: 216.1 kB / 0.7945 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.5472, allocations: 120.6 kB / 0.7946 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.5472, allocations: 2.344 kB / 0.7946 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5474, allocations: 17.69 kB / 0.7946 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.5475, allocations: 15.77 kB / 0.7946 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.5475, allocations: 10.44 kB / 0.7946 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.989e-05/0.5476, allocations: 118.5 kB / 0.7948 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5476, allocations: 1.031 kB / 0.7948 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003759/0.548, allocations: 81.52 kB / 0.7948 GB, free: 15.29 MB / 0.5762 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.0002767/0.5483, allocations: 186.3 kB / 0.795 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.5485, allocations: 122.9 kB / 0.7951 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5485, allocations: 0 / 0.7951 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.5486, allocations: 46.11 kB / 0.7952 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.549, allocations: 48.66 kB / 0.7952 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.5497, allocations: 337.7 kB / 0.7955 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.55, allocations: 0.7166 MB / 0.7962 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.5501, allocations: 50.89 kB / 0.7963 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5502, allocations: 25.72 kB / 0.7963 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5502, allocations: 0 / 0.7963 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.00734/0.5575, allocations: 3.689 MB / 0.7999 GB, free: 13.8 MB / 0.5762 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)