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.001174/0.001177, allocations: 106.1 kB / 15.99 MB, free: 5.914 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.001235/0.001235, allocations: 190.8 kB / 16.9 MB, free: 5.758 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.201/1.201, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 294.6 kB / 291 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8535/0.8535, allocations: 169.2 MB / 0.4985 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 89.39 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1677, allocations: 86.98 MB / 0.6803 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00475/0.1725, allocations: 4.084 MB / 0.6843 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1749, allocations: 2.422 MB / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.175, allocations: 0 / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.1752, allocations: 39.73 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.1755, allocations: 95.48 kB / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1766, allocations: 487.9 kB / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1769, allocations: 263.9 kB / 0.6875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.177, allocations: 17.53 kB / 0.6875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.1772, allocations: 115.6 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1773, allocations: 95.64 kB / 0.6877 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1773, allocations: 8 kB / 0.6877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.178, allocations: 471 kB / 0.6882 GB, free: 484 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1781, allocations: 35.89 kB / 0.6882 GB, free: 448 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.1782, allocations: 79.66 kB / 0.6883 GB, free: 368 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1785, allocations: 283.6 kB / 0.6885 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1785, allocations: 0 / 0.6885 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1785, allocations: 0 / 0.6885 GB, free: 84 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1785, allocations: 4 kB / 0.6885 GB, free: 80 kB / 494.1 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.2528/0.4314, allocations: 0.5021 MB / 0.689 GB, free: 18.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4314, allocations: 8.625 kB / 0.689 GB, free: 18.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4335, allocations: 181.7 kB / 0.6892 GB, free: 18.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4337, allocations: 214.3 kB / 0.6894 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.4337, allocations: 13.48 kB / 0.6894 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.4338, allocations: 14.19 kB / 0.6894 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.4344, allocations: 301.9 kB / 0.6897 GB, free: 18.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4344, allocations: 0.7188 kB / 0.6897 GB, free: 18.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.4345, allocations: 14.42 kB / 0.6897 GB, free: 18.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.4345, allocations: 6.344 kB / 0.6897 GB, free: 18.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.4352, allocations: 267.3 kB / 0.69 GB, free: 18.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.4365, allocations: 1.377 MB / 0.6913 GB, free: 17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.4371, allocations: 191.5 kB / 0.6915 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.4373, allocations: 81.14 kB / 0.6916 GB, free: 16.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.4374, allocations: 11.12 kB / 0.6916 GB, free: 16.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.4374, allocations: 37.27 kB / 0.6917 GB, free: 16.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.4374, allocations: 1.078 kB / 0.6917 GB, free: 16.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007576/0.4382, allocations: 247.5 kB / 0.6919 GB, free: 16.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.4382, allocations: 56.22 kB / 0.6919 GB, free: 16.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4383, allocations: 163 kB / 0.6921 GB, free: 16.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.4383, allocations: 27.64 kB / 0.6921 GB, free: 16.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.4384, allocations: 128.3 kB / 0.6922 GB, free: 16.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.4384, allocations: 63.23 kB / 0.6923 GB, free: 16.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.4385, allocations: 49.72 kB / 0.6924 GB, free: 16.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.4386, allocations: 330.2 kB / 0.6927 GB, free: 16.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4388, allocations: 65.44 kB / 0.6927 GB, free: 16.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.439, allocations: 142.1 kB / 0.6929 GB, free: 16.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.4394, allocations: 219.2 kB / 0.6931 GB, free: 15.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4395, allocations: 0.8438 kB / 0.6931 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005453/0.44, allocations: 253.2 kB / 0.6933 GB, free: 15.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.44, allocations: 7.016 kB / 0.6933 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.44, allocations: 7.031 kB / 0.6933 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4401, allocations: 4.391 kB / 0.6933 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4404, allocations: 57.66 kB / 0.6934 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4405, allocations: 8.688 kB / 0.6934 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.4407, allocations: 36.17 kB / 0.6934 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4407, allocations: 11.41 kB / 0.6934 GB, free: 15.73 MB / 494.1 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 8.86e-05/0.4408, allocations: 133.6 kB / 0.6936 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.4409, allocations: 21.34 kB / 0.6936 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.4415, allocations: 228.8 kB / 0.6938 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4415, allocations: 2.562 kB / 0.6938 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.4415, allocations: 4.281 kB / 0.6938 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4415, allocations: 2.391 kB / 0.6938 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.4418, allocations: 245.1 kB / 0.6941 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4418, allocations: 4 kB / 0.6941 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.4421, allocations: 47.7 kB / 0.6941 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4421, allocations: 1.406 kB / 0.6941 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.4421, allocations: 5.656 kB / 0.6941 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4421, allocations: 1.391 kB / 0.6941 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4421, allocations: 0 / 0.6941 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.4426, allocations: 301.1 kB / 0.6944 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.4427, allocations: 110.7 kB / 0.6945 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4428, allocations: 1.844 kB / 0.6945 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.443, allocations: 19.25 kB / 0.6945 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.4431, allocations: 9.641 kB / 0.6945 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4431, allocations: 12.53 kB / 0.6945 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.4432, allocations: 123.5 kB / 0.6947 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4432, allocations: 0 / 0.6947 GB, free: 14.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.4435, allocations: 59.7 kB / 0.6947 GB, free: 14.85 MB / 494.1 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.0001951/0.4437, allocations: 139.5 kB / 0.6949 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.4443, allocations: 191.1 kB / 0.695 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4443, allocations: 1.094 kB / 0.695 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.4445, allocations: 92.5 kB / 0.6951 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.445, allocations: 68.17 kB / 0.6952 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.4459, allocations: 495.6 kB / 0.6957 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4461, allocations: 0.7187 MB / 0.6964 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4462, allocations: 27 kB / 0.6964 GB, free: 13.64 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4462, allocations: 1.828 kB / 0.6964 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Templates: time 0.005416/0.4516, allocations: 2.92 MB / 0.6992 GB, free: 13.42 MB / 494.1 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)