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.001299/0.001299, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001245/0.001246, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 282.8 kB / 291.4 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.8862/0.8862, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 98.41 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1541, allocations: 86.96 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005124/0.1593, allocations: 4.038 MB / 0.6855 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.162, allocations: 2.434 MB / 0.6879 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.1621, allocations: 3.938 kB / 0.6879 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1623, allocations: 51.61 kB / 0.688 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1626, allocations: 99.34 kB / 0.6881 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1637, allocations: 0.5268 MB / 0.6886 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.164, allocations: 263.9 kB / 0.6888 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.164, allocations: 13.55 kB / 0.6888 GB, free: 40 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2482/0.4122, allocations: 108.5 kB / 0.689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4124, allocations: 99.03 kB / 0.689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.4125, allocations: 10.47 kB / 0.6891 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.4135, allocations: 455.6 kB / 0.6895 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.4136, allocations: 38.22 kB / 0.6895 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4137, allocations: 86.28 kB / 0.6896 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.4143, allocations: 406.4 kB / 0.69 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4144, allocations: 1.031 kB / 0.69 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4144, allocations: 1.781 kB / 0.69 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4144, allocations: 0 / 0.69 GB, free: 13.21 MB / 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.0006061/0.415, allocations: 0.5041 MB / 0.6905 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.415, allocations: 9.828 kB / 0.6905 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.4169, allocations: 175.9 kB / 0.6907 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.4172, allocations: 210.9 kB / 0.6909 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.4172, allocations: 13.89 kB / 0.6909 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.4172, allocations: 13.78 kB / 0.6909 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.4178, allocations: 309 kB / 0.6912 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4178, allocations: 1.859 kB / 0.6912 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.4179, allocations: 14.48 kB / 0.6912 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.4179, allocations: 5.656 kB / 0.6912 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.4186, allocations: 256.5 kB / 0.6915 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4199, allocations: 1.39 MB / 0.6928 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.4205, allocations: 200 kB / 0.693 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.4207, allocations: 78.17 kB / 0.6931 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4207, allocations: 1.719 kB / 0.6931 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.4207, allocations: 39.92 kB / 0.6931 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.4207, allocations: 1.312 kB / 0.6931 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007013/0.4214, allocations: 251.1 kB / 0.6934 GB, free: 11.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4215, allocations: 54.55 kB / 0.6934 GB, free: 11.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4216, allocations: 161.2 kB / 0.6936 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.4216, allocations: 27.27 kB / 0.6936 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4217, allocations: 126.6 kB / 0.6937 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.4217, allocations: 63.25 kB / 0.6938 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.4218, allocations: 57.45 kB / 0.6938 GB, free: 10.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.4219, allocations: 321.3 kB / 0.6941 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4221, allocations: 66.02 kB / 0.6942 GB, free: 10.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.4223, allocations: 141.2 kB / 0.6943 GB, free: 10.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.4227, allocations: 217.7 kB / 0.6945 GB, free: 10.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4227, allocations: 4.75 kB / 0.6945 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005472/0.4233, allocations: 260.7 kB / 0.6948 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4233, allocations: 6.906 kB / 0.6948 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4233, allocations: 3.062 kB / 0.6948 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4234, allocations: 6.594 kB / 0.6948 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.4237, allocations: 61.16 kB / 0.6949 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4237, allocations: 9.391 kB / 0.6949 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.4239, allocations: 29.08 kB / 0.6949 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.424, allocations: 14.62 kB / 0.6949 GB, free: 10.22 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.619e-05/0.4241, allocations: 137.3 kB / 0.695 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.4241, allocations: 15.89 kB / 0.6951 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.4247, allocations: 222 kB / 0.6953 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4247, allocations: 2.125 kB / 0.6953 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4247, allocations: 0 / 0.6953 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4248, allocations: 2.141 kB / 0.6953 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.425, allocations: 247.9 kB / 0.6955 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.425, allocations: 0.6094 kB / 0.6955 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.4253, allocations: 51.41 kB / 0.6956 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4253, allocations: 2.328 kB / 0.6956 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4253, allocations: 6.203 kB / 0.6956 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4253, allocations: 0.875 kB / 0.6956 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4253, allocations: 1.828 kB / 0.6956 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.4259, allocations: 298.2 kB / 0.6959 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.426, allocations: 110.1 kB / 0.696 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.426, allocations: 1.875 kB / 0.696 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4263, allocations: 17.36 kB / 0.696 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.4263, allocations: 13.83 kB / 0.696 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4264, allocations: 15.52 kB / 0.696 GB, free: 9.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.4264, allocations: 118.2 kB / 0.6961 GB, free: 9.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4264, allocations: 4.844 kB / 0.6961 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.4268, allocations: 60.14 kB / 0.6962 GB, free: 9.508 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.0002356/0.4271, allocations: 137.8 kB / 0.6963 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.4277, allocations: 178.8 kB / 0.6965 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4277, allocations: 0 / 0.6965 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.4279, allocations: 88.8 kB / 0.6966 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4284, allocations: 65.27 kB / 0.6966 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.4293, allocations: 409.6 kB / 0.697 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.4295, allocations: 0.7187 MB / 0.6977 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.4298, allocations: 53.27 kB / 0.6978 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.4299, allocations: 24.22 kB / 0.6978 GB, free: 8.477 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4299, allocations: 0 / 0.6978 GB, free: 8.477 MB / 494.1 MB Notification: Performance of Templates: time 0.009056/0.4389, allocations: 3.4 MB / 0.7011 GB, free: 8.301 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)