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.006447/0.006447, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001309/0.001309, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 290.4 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 92.08 kB / 0.6815 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1618, allocations: 86.97 MB / 0.7664 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005497/0.1673, allocations: 4.054 MB / 0.7704 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.1703, allocations: 2.43 MB / 0.7728 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.1704, allocations: 4 kB / 0.7728 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1708, allocations: 47.67 kB / 0.7728 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1711, allocations: 99.34 kB / 0.7729 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1725, allocations: 0.518 MB / 0.7734 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.1728, allocations: 263.8 kB / 0.7737 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.1729, allocations: 13.56 kB / 0.7737 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1731, allocations: 115.6 kB / 0.7738 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1733, allocations: 91.66 kB / 0.7739 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1733, allocations: 8 kB / 0.7739 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008176/0.1741, allocations: 463.2 kB / 0.7743 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.1742, allocations: 35.84 kB / 0.7744 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1743, allocations: 83.64 kB / 0.7744 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3551/0.5295, allocations: 412.9 kB / 0.7748 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5295, allocations: 1.438 kB / 0.7748 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5295, allocations: 0 / 0.7748 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.5295, allocations: 2.312 kB / 0.7748 GB, free: 9.844 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.000754/0.5303, allocations: 0.5059 MB / 0.7753 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5304, allocations: 9.688 kB / 0.7753 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.5324, allocations: 180.6 kB / 0.7755 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.5327, allocations: 212.9 kB / 0.7757 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.5327, allocations: 9.891 kB / 0.7757 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.5327, allocations: 19.31 kB / 0.7758 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.5334, allocations: 304.5 kB / 0.776 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5334, allocations: 3.562 kB / 0.776 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.5335, allocations: 9.719 kB / 0.7761 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.5335, allocations: 5.688 kB / 0.7761 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.5342, allocations: 262.6 kB / 0.7763 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.5356, allocations: 1.385 MB / 0.7777 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.5363, allocations: 197 kB / 0.7779 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.5365, allocations: 77.8 kB / 0.7779 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.5365, allocations: 5.734 kB / 0.7779 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.5366, allocations: 41.19 kB / 0.778 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.5366, allocations: 1.5 kB / 0.778 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008021/0.5374, allocations: 246 kB / 0.7782 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5374, allocations: 56.59 kB / 0.7783 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5376, allocations: 159 kB / 0.7784 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5376, allocations: 30.86 kB / 0.7784 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.5377, allocations: 129 kB / 0.7786 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.5377, allocations: 67.34 kB / 0.7786 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.5378, allocations: 48.48 kB / 0.7787 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.5379, allocations: 326.4 kB / 0.779 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.5381, allocations: 65.25 kB / 0.779 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.5383, allocations: 140.6 kB / 0.7792 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.5388, allocations: 217.2 kB / 0.7794 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5388, allocations: 8.328 kB / 0.7794 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006074/0.5394, allocations: 256.5 kB / 0.7796 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5395, allocations: 5.781 kB / 0.7796 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5395, allocations: 3.453 kB / 0.7797 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5395, allocations: 6.406 kB / 0.7797 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.5398, allocations: 60.39 kB / 0.7797 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5399, allocations: 4.531 kB / 0.7797 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.5401, allocations: 30.72 kB / 0.7797 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.5401, allocations: 14.11 kB / 0.7798 GB, free: 6.855 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 9.384e-05/0.5402, allocations: 134.7 kB / 0.7799 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.5403, allocations: 15.53 kB / 0.7799 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.5409, allocations: 236.1 kB / 0.7801 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5409, allocations: 3.344 kB / 0.7801 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5409, allocations: 0 / 0.7801 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.541, allocations: 3.156 kB / 0.7801 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5412, allocations: 242.8 kB / 0.7804 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5412, allocations: 0.8438 kB / 0.7804 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.5415, allocations: 50.17 kB / 0.7804 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5415, allocations: 0.9062 kB / 0.7804 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5415, allocations: 10.52 kB / 0.7804 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5416, allocations: 1.891 kB / 0.7804 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5416, allocations: 0.9062 kB / 0.7804 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.5421, allocations: 297.5 kB / 0.7807 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.5422, allocations: 103.4 kB / 0.7808 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5422, allocations: 5.484 kB / 0.7808 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.5425, allocations: 20.2 kB / 0.7808 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.5425, allocations: 15.33 kB / 0.7809 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.5426, allocations: 12.55 kB / 0.7809 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.5426, allocations: 115.5 kB / 0.781 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.92e-07/0.5426, allocations: 1.594 kB / 0.781 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003722/0.543, allocations: 65.31 kB / 0.781 GB, free: 6.145 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.0001939/0.5432, allocations: 132.8 kB / 0.7812 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.5438, allocations: 184.2 kB / 0.7813 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5438, allocations: 0 / 0.7813 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.544, allocations: 88.02 kB / 0.7814 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.5445, allocations: 66.61 kB / 0.7815 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.5454, allocations: 415.2 kB / 0.7819 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.5457, allocations: 0.7221 MB / 0.7826 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002495/0.546, allocations: 52.16 kB / 0.7826 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.5461, allocations: 24.5 kB / 0.7827 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5461, allocations: 3.281 kB / 0.7827 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.007136/0.5532, allocations: 3.423 MB / 0.786 GB, free: 20.93 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)