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.004223/0.004223, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001014/0.001014, allocations: 189.4 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.303/1.303, 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.002094/0.002094, allocations: 282.6 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.9542/0.9542, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 92.08 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1643, allocations: 86.98 MB / 0.7665 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00514/0.1695, allocations: 4.048 MB / 0.7704 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.172, allocations: 2.422 MB / 0.7728 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.1721, allocations: 0 / 0.7728 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1724, allocations: 59.59 kB / 0.7728 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.1727, allocations: 95.36 kB / 0.7729 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1739, allocations: 0.5201 MB / 0.7734 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1742, allocations: 259.8 kB / 0.7737 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1743, allocations: 17.56 kB / 0.7737 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.1745, allocations: 111.6 kB / 0.7738 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1747, allocations: 91.66 kB / 0.7739 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1747, allocations: 8 kB / 0.7739 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.1755, allocations: 455.2 kB / 0.7743 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.1756, allocations: 47.81 kB / 0.7744 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1757, allocations: 79.66 kB / 0.7744 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.329/0.5047, allocations: 410 kB / 0.7748 GB, free: 10 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5048, allocations: 0.5 kB / 0.7748 GB, free: 10 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5048, allocations: 0.875 kB / 0.7748 GB, free: 10 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5048, allocations: 3.125 kB / 0.7748 GB, free: 10 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.0006996/0.5055, allocations: 0.5034 MB / 0.7753 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5055, allocations: 9.531 kB / 0.7753 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.5074, allocations: 176.5 kB / 0.7755 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5077, allocations: 217.1 kB / 0.7757 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5077, allocations: 10.95 kB / 0.7757 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.5077, allocations: 17.72 kB / 0.7757 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.5083, allocations: 310.9 kB / 0.776 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5084, allocations: 1.484 kB / 0.776 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.5084, allocations: 9.969 kB / 0.7761 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.5084, allocations: 7.094 kB / 0.7761 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.5091, allocations: 260.7 kB / 0.7763 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.5104, allocations: 1.379 MB / 0.7777 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.511, allocations: 193.5 kB / 0.7778 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.5113, allocations: 80.28 kB / 0.7779 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.5113, allocations: 5.25 kB / 0.7779 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5113, allocations: 38.41 kB / 0.778 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.5114, allocations: 3.562 kB / 0.778 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008091/0.5122, allocations: 248.4 kB / 0.7782 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.5122, allocations: 54.44 kB / 0.7783 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.5123, allocations: 156 kB / 0.7784 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.5124, allocations: 31.2 kB / 0.7784 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.5124, allocations: 124.9 kB / 0.7785 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.5125, allocations: 63.23 kB / 0.7786 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.5126, allocations: 53.56 kB / 0.7787 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.5127, allocations: 326.4 kB / 0.779 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.5129, allocations: 62.42 kB / 0.779 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5132, allocations: 147.1 kB / 0.7792 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.5136, allocations: 212.1 kB / 0.7794 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5136, allocations: 6.672 kB / 0.7794 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005889/0.5142, allocations: 254.1 kB / 0.7796 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5143, allocations: 7.078 kB / 0.7796 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5143, allocations: 2.219 kB / 0.7796 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.5143, allocations: 4.312 kB / 0.7796 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5146, allocations: 69.27 kB / 0.7797 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5147, allocations: 5.5 kB / 0.7797 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.5149, allocations: 34.36 kB / 0.7797 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5149, allocations: 11.83 kB / 0.7797 GB, free: 7.051 MB / 0.5606 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 8.305e-05/0.515, allocations: 133.7 kB / 0.7799 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.515, allocations: 15.59 kB / 0.7799 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.5156, allocations: 236.2 kB / 0.7801 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5156, allocations: 2.188 kB / 0.7801 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5156, allocations: 1.688 kB / 0.7801 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5157, allocations: 2.719 kB / 0.7801 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.5159, allocations: 242.9 kB / 0.7804 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5159, allocations: 0.75 kB / 0.7804 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.5162, allocations: 44.91 kB / 0.7804 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5162, allocations: 0.875 kB / 0.7804 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5162, allocations: 13.59 kB / 0.7804 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5162, allocations: 4.875 kB / 0.7804 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5162, allocations: 0.8438 kB / 0.7804 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.5167, allocations: 294 kB / 0.7807 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.5168, allocations: 107 kB / 0.7808 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.5169, allocations: 8.688 kB / 0.7808 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5171, allocations: 16.84 kB / 0.7808 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.5172, allocations: 10.06 kB / 0.7808 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.5172, allocations: 12.36 kB / 0.7808 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.5173, allocations: 114.4 kB / 0.781 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5173, allocations: 0.9688 kB / 0.781 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003708/0.5177, allocations: 64.66 kB / 0.781 GB, free: 6.348 MB / 0.5606 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.0002198/0.5179, allocations: 137.1 kB / 0.7811 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.5184, allocations: 184.6 kB / 0.7813 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5184, allocations: 0 / 0.7813 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5186, allocations: 94.03 kB / 0.7814 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.5191, allocations: 65.86 kB / 0.7815 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.5199, allocations: 415 kB / 0.7819 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.5202, allocations: 0.7161 MB / 0.7826 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.5204, allocations: 50.94 kB / 0.7826 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.5205, allocations: 23.88 kB / 0.7826 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.5205, allocations: 0 / 0.7826 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.006523/0.527, allocations: 3.471 MB / 0.786 GB, free: 21.11 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)