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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8547/0.8547, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 187 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 447.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.7 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 283.9 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 71.89 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.412, allocations: 81.3 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00534/0.4174, allocations: 4.109 MB / 0.7719 GB, free: 23.51 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4196, allocations: 2.457 MB / 0.7743 GB, free: 21.05 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.4197, allocations: 4 kB / 0.7743 GB, free: 21.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.4199, allocations: 35.8 kB / 0.7744 GB, free: 21.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.4203, allocations: 87.48 kB / 0.7745 GB, free: 20.92 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.4215, allocations: 485.7 kB / 0.7749 GB, free: 20.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4218, allocations: 347.7 kB / 0.7753 GB, free: 20.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.4219, allocations: 9.562 kB / 0.7753 GB, free: 20.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.4221, allocations: 111.6 kB / 0.7754 GB, free: 20 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.4222, allocations: 91.66 kB / 0.7755 GB, free: 19.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4222, allocations: 12 kB / 0.7755 GB, free: 19.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.4229, allocations: 467 kB / 0.7759 GB, free: 19.44 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.423, allocations: 31.91 kB / 0.7759 GB, free: 19.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.423, allocations: 83.64 kB / 0.776 GB, free: 19.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.4236, allocations: 421.6 kB / 0.7764 GB, free: 18.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4236, allocations: 0 / 0.7764 GB, free: 18.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4236, allocations: 0 / 0.7764 GB, free: 18.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4236, allocations: 0 / 0.7764 GB, free: 18.91 MB / 458.7 MB 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.000681/0.4243, allocations: 0.5032 MB / 0.7769 GB, free: 18.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4243, allocations: 12.03 kB / 0.7769 GB, free: 18.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.4261, allocations: 176.5 kB / 0.7771 GB, free: 18.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.4263, allocations: 212.2 kB / 0.7773 GB, free: 17.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4264, allocations: 8.703 kB / 0.7773 GB, free: 17.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4264, allocations: 16.38 kB / 0.7773 GB, free: 17.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.427, allocations: 308.4 kB / 0.7776 GB, free: 17.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.427, allocations: 7.938 kB / 0.7776 GB, free: 17.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.427, allocations: 8 kB / 0.7776 GB, free: 17.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.427, allocations: 11.94 kB / 0.7776 GB, free: 17.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/0.4277, allocations: 263.6 kB / 0.7779 GB, free: 17.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.429, allocations: 1.381 MB / 0.7792 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.4296, allocations: 194.4 kB / 0.7794 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.4299, allocations: 80.81 kB / 0.7795 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4299, allocations: 7.969 kB / 0.7795 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4299, allocations: 38.55 kB / 0.7796 GB, free: 15.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.4299, allocations: 0 / 0.7796 GB, free: 15.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007249/0.4307, allocations: 242 kB / 0.7798 GB, free: 15.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.4307, allocations: 59.39 kB / 0.7798 GB, free: 15.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4308, allocations: 163.7 kB / 0.78 GB, free: 14.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4308, allocations: 29.7 kB / 0.78 GB, free: 14.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.4309, allocations: 124 kB / 0.7801 GB, free: 14.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.4309, allocations: 59.11 kB / 0.7802 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.431, allocations: 53.92 kB / 0.7803 GB, free: 14.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.4311, allocations: 326.8 kB / 0.7806 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.4313, allocations: 60.42 kB / 0.7806 GB, free: 14.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.4315, allocations: 146.2 kB / 0.7808 GB, free: 14.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.432, allocations: 226.8 kB / 0.781 GB, free: 13.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.432, allocations: 0 / 0.781 GB, free: 13.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005462/0.4325, allocations: 246.6 kB / 0.7812 GB, free: 13.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4325, allocations: 4 kB / 0.7812 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4326, allocations: 7.984 kB / 0.7812 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4326, allocations: 4 kB / 0.7812 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.4329, allocations: 63.89 kB / 0.7813 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4329, allocations: 8.312 kB / 0.7813 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.4331, allocations: 39.67 kB / 0.7813 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.4332, allocations: 8 kB / 0.7813 GB, free: 13.5 MB / 458.7 MB 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.234e-05/0.4333, allocations: 129.7 kB / 0.7815 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.4333, allocations: 15.91 kB / 0.7815 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.4339, allocations: 225.4 kB / 0.7817 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4339, allocations: 7.938 kB / 0.7817 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4339, allocations: 0 / 0.7817 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4339, allocations: 3.984 kB / 0.7817 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.4342, allocations: 253.4 kB / 0.7819 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4342, allocations: 0 / 0.7819 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.4344, allocations: 51.95 kB / 0.782 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4345, allocations: 0 / 0.782 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4345, allocations: 4 kB / 0.782 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4345, allocations: 0 / 0.782 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4345, allocations: 0 / 0.782 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.4353, allocations: 0.9267 MB / 0.7829 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.4354, allocations: 108.8 kB / 0.783 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4354, allocations: 8 kB / 0.783 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.4357, allocations: 19.97 kB / 0.783 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.4357, allocations: 15.92 kB / 0.7831 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.4358, allocations: 12 kB / 0.7831 GB, free: 11.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.4358, allocations: 122.2 kB / 0.7832 GB, free: 11.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4358, allocations: 0 / 0.7832 GB, free: 11.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004304/0.4363, allocations: 60 kB / 0.7832 GB, free: 11.42 MB / 458.7 MB 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.000201/0.4365, allocations: 136.3 kB / 0.7834 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.437, allocations: 186 kB / 0.7835 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.437, allocations: 0 / 0.7835 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4372, allocations: 83.89 kB / 0.7836 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.4377, allocations: 60.52 kB / 0.7837 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.4387, allocations: 0.6176 MB / 0.7843 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.4388, allocations: 0.7215 MB / 0.785 GB, free: 9.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.4392, allocations: 49.92 kB / 0.785 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.4393, allocations: 23.44 kB / 0.7851 GB, free: 9.469 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4393, allocations: 0 / 0.7851 GB, free: 9.469 MB / 458.7 MB Notification: Performance of Templates: time 0.005857/0.4451, allocations: 3.348 MB / 0.7883 GB, free: 6.195 MB / 458.7 MB 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)