Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 106.3 kB / 16.4 MB, free: 6.496 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.002106/0.002106, allocations: 185.2 kB / 17.34 MB, free: 5.727 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002612/0.002612, allocations: 291.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004174/0.004174, allocations: 103.8 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4104, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005866/0.4163, allocations: 4.05 MB / 0.7711 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.4193, allocations: 2.426 MB / 0.7734 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.4193, allocations: 4 kB / 0.7735 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.4196, allocations: 51.67 kB / 0.7735 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.4198, allocations: 99.34 kB / 0.7736 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.4211, allocations: 0.5412 MB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.4214, allocations: 259.9 kB / 0.7744 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.4214, allocations: 13.55 kB / 0.7744 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.4216, allocations: 123.5 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.4218, allocations: 87.67 kB / 0.7746 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.4218, allocations: 8 kB / 0.7746 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000858/0.4227, allocations: 463.2 kB / 0.775 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.4228, allocations: 43.83 kB / 0.7751 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4229, allocations: 83.64 kB / 0.7752 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.4235, allocations: 412.4 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4235, allocations: 4 kB / 0.7756 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4235, allocations: 4 kB / 0.7756 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4235, allocations: 0 / 0.7756 GB, free: 11.24 MB / 0.545 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.0007974/0.4243, allocations: 0.5025 MB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4243, allocations: 8.031 kB / 0.7761 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.4264, allocations: 180.6 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.4267, allocations: 216.1 kB / 0.7764 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.4267, allocations: 16.64 kB / 0.7764 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.4268, allocations: 12.38 kB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.4275, allocations: 308.4 kB / 0.7768 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4275, allocations: 0 / 0.7768 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.4275, allocations: 8 kB / 0.7768 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.4275, allocations: 4 kB / 0.7768 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.4283, allocations: 267.5 kB / 0.777 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.4301, allocations: 1.385 MB / 0.7784 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.4308, allocations: 190.3 kB / 0.7786 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.4311, allocations: 72.81 kB / 0.7786 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.4311, allocations: 0 / 0.7786 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4311, allocations: 38.56 kB / 0.7787 GB, free: 7.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.4311, allocations: 0 / 0.7787 GB, free: 7.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008288/0.432, allocations: 243.7 kB / 0.7789 GB, free: 7.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.432, allocations: 59.41 kB / 0.779 GB, free: 7.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4322, allocations: 157.2 kB / 0.7791 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.4322, allocations: 29.7 kB / 0.7791 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.4323, allocations: 132.2 kB / 0.7793 GB, free: 7.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.4324, allocations: 67.42 kB / 0.7793 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.4324, allocations: 45.94 kB / 0.7794 GB, free: 7.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4326, allocations: 334.8 kB / 0.7797 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.4328, allocations: 60.42 kB / 0.7797 GB, free: 6.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.4331, allocations: 142.3 kB / 0.7799 GB, free: 6.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.4336, allocations: 224.4 kB / 0.7801 GB, free: 6.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4336, allocations: 4 kB / 0.7801 GB, free: 6.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006333/0.4343, allocations: 253.2 kB / 0.7803 GB, free: 5.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4343, allocations: 4 kB / 0.7803 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4343, allocations: 7.938 kB / 0.7803 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4343, allocations: 8.312 kB / 0.7804 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.4347, allocations: 63.89 kB / 0.7804 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4347, allocations: 7.938 kB / 0.7804 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.4349, allocations: 31.83 kB / 0.7805 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.435, allocations: 12 kB / 0.7805 GB, free: 5.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001397/0.4351, allocations: 140 kB / 0.7806 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.4352, allocations: 15.91 kB / 0.7806 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.4358, allocations: 230.7 kB / 0.7808 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4358, allocations: 4 kB / 0.7808 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4359, allocations: 3.984 kB / 0.7808 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4359, allocations: 0 / 0.7808 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.4362, allocations: 241.5 kB / 0.7811 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4362, allocations: 0 / 0.7811 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.4365, allocations: 43.91 kB / 0.7811 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4365, allocations: 4 kB / 0.7811 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4365, allocations: 4 kB / 0.7811 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4365, allocations: 4 kB / 0.7811 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4365, allocations: 4 kB / 0.7811 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.4371, allocations: 293.3 kB / 0.7814 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4373, allocations: 108.9 kB / 0.7815 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4373, allocations: 4 kB / 0.7815 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.4376, allocations: 19.98 kB / 0.7815 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.4376, allocations: 15.92 kB / 0.7816 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4376, allocations: 11.98 kB / 0.7816 GB, free: 4.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.373e-05/0.4377, allocations: 119.2 kB / 0.7817 GB, free: 4.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4377, allocations: 0 / 0.7817 GB, free: 4.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003851/0.4381, allocations: 59.94 kB / 0.7817 GB, free: 4.426 MB / 0.545 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002241/0.4383, allocations: 135.2 kB / 0.7819 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.4389, allocations: 176.1 kB / 0.782 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4389, allocations: 0 / 0.782 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.4392, allocations: 87.83 kB / 0.7821 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.4397, allocations: 70.09 kB / 0.7822 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.4407, allocations: 409.1 kB / 0.7826 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4411, allocations: 0.7137 MB / 0.7833 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.4413, allocations: 53.92 kB / 0.7833 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.4414, allocations: 23.42 kB / 0.7833 GB, free: 2.723 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4414, allocations: 0 / 0.7833 GB, free: 2.723 MB / 0.545 GB Notification: Performance of Templates: time 0.00765/0.4491, allocations: 3.428 MB / 0.7867 GB, free: 15.38 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)