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.007684/0.007684, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001736/0.001736, allocations: 200.6 kB / 16.68 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 282.8 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9825/0.9825, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 103.8 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, 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.351/0.5173, allocations: 12.96 MB / 0.7791 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.52, allocations: 2.674 MB / 0.7817 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.5201, allocations: 1.469 kB / 0.7817 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.5204, allocations: 48.34 kB / 0.7818 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.5207, allocations: 90.78 kB / 0.7818 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.5219, allocations: 0.5081 MB / 0.7823 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.5221, allocations: 231 kB / 0.7826 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.5222, allocations: 16.81 kB / 0.7826 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009764/0.532, allocations: 3.573 MB / 0.7861 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.5323, allocations: 94.42 kB / 0.7862 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.5323, allocations: 8.188 kB / 0.7862 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.5354, allocations: 1.073 MB / 0.7872 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.5355, allocations: 39.47 kB / 0.7872 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.5356, allocations: 79.94 kB / 0.7873 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007383/0.5364, allocations: 365.5 kB / 0.7877 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5364, allocations: 4 kB / 0.7877 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5364, allocations: 4 kB / 0.7877 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5364, allocations: 0 / 0.7877 GB, free: 5.402 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.0006486/0.537, allocations: 0.5074 MB / 0.7882 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5371, allocations: 9.312 kB / 0.7882 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.5373, allocations: 26.22 kB / 0.7882 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.5375, allocations: 216.2 kB / 0.7884 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5375, allocations: 10.95 kB / 0.7884 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.5375, allocations: 16.05 kB / 0.7884 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.5379, allocations: 256.7 kB / 0.7887 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5379, allocations: 0 / 0.7887 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5379, allocations: 6.625 kB / 0.7887 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.538, allocations: 7.047 kB / 0.7887 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.5384, allocations: 433.6 kB / 0.7891 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/0.5394, allocations: 0.9632 MB / 0.7901 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.5397, allocations: 175.7 kB / 0.7902 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.5398, allocations: 65.52 kB / 0.7903 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.5408, allocations: 1.825 MB / 0.7921 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.5409, allocations: 35.31 kB / 0.7921 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.5409, allocations: 0 / 0.7921 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003176/0.5412, allocations: 151.8 kB / 0.7922 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5412, allocations: 61.75 kB / 0.7923 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.5414, allocations: 169.1 kB / 0.7925 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5414, allocations: 30.27 kB / 0.7925 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.5415, allocations: 142.9 kB / 0.7926 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.5415, allocations: 57.94 kB / 0.7927 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.5416, allocations: 49.28 kB / 0.7927 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5417, allocations: 326.3 kB / 0.793 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.5418, allocations: 36.38 kB / 0.7931 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/0.5419, allocations: 139.5 kB / 0.7932 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5421, allocations: 192.4 kB / 0.7934 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5421, allocations: 5.156 kB / 0.7934 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000288/0.5424, allocations: 217.5 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5424, allocations: 6.062 kB / 0.7936 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5424, allocations: 8.125 kB / 0.7936 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5424, allocations: 5.844 kB / 0.7936 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.5426, allocations: 57.84 kB / 0.7937 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5426, allocations: 15.94 kB / 0.7937 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5427, allocations: 29.66 kB / 0.7937 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5427, allocations: 10.67 kB / 0.7937 GB, free: 16.14 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 9.878e-05/0.5428, allocations: 132.1 kB / 0.7939 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.5429, allocations: 16.66 kB / 0.7939 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5432, allocations: 155.6 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5432, allocations: 1.844 kB / 0.794 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5432, allocations: 9.094 kB / 0.794 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5432, allocations: 0.75 kB / 0.794 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.5435, allocations: 220.5 kB / 0.7942 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5435, allocations: 3.5 kB / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.5436, allocations: 22.28 kB / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5436, allocations: 0 / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5436, allocations: 7.547 kB / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5436, allocations: 0 / 0.7943 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5436, allocations: 6.781 kB / 0.7943 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.5438, allocations: 229.6 kB / 0.7945 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.5439, allocations: 105.8 kB / 0.7946 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.544, allocations: 3.625 kB / 0.7946 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5442, allocations: 20.05 kB / 0.7946 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.5442, allocations: 14.48 kB / 0.7946 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.5442, allocations: 14.02 kB / 0.7947 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.343e-05/0.5443, allocations: 125.2 kB / 0.7948 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5443, allocations: 0 / 0.7948 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003732/0.5447, allocations: 80.59 kB / 0.7949 GB, free: 15.28 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.0002793/0.545, allocations: 189.9 kB / 0.795 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5452, allocations: 113.2 kB / 0.7951 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5452, allocations: 0 / 0.7951 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.5453, allocations: 45.81 kB / 0.7952 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5457, allocations: 61.08 kB / 0.7952 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.5463, allocations: 348.6 kB / 0.7956 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.5466, allocations: 0.7155 MB / 0.7963 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.5468, allocations: 54.75 kB / 0.7963 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.5468, allocations: 20.19 kB / 0.7963 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5468, allocations: 0.6875 kB / 0.7963 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.007199/0.554, allocations: 3.649 MB / 0.7999 GB, free: 13.79 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)