Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6419/0.6419, allocations: 117.9 MB / 133.9 MB, free: 4.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 184 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.3 MB / 394.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009206/0.0009209, allocations: 100.2 kB / 470.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 11.94 kB / 0.5423 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 74.54 MB / 0.6151 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/1.08, allocations: 310.9 MB / 0.9187 GB, free: 4.879 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.08, allocations: 86.25 kB / 0.9188 GB, free: 4.828 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1925/1.273, allocations: 66.2 MB / 0.9834 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.725e-06/1.273, allocations: 0 / 0.9834 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.481e-05/1.273, allocations: 8 kB / 0.9834 GB, free: 9.578 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0015/1.274, allocations: 0.6052 MB / 0.984 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.274, allocations: 12.03 kB / 0.984 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/1.275, allocations: 68.5 kB / 0.9841 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/1.276, allocations: 292.1 kB / 0.9844 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.276, allocations: 16.94 kB / 0.9844 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/1.276, allocations: 24.38 kB / 0.9844 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/1.277, allocations: 338.8 kB / 0.9848 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.277, allocations: 192 / 0.9848 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/1.277, allocations: 15.94 kB / 0.9848 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/1.277, allocations: 8 kB / 0.9848 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/1.278, allocations: 217.5 kB / 0.985 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/1.281, allocations: 1.69 MB / 0.9866 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/1.281, allocations: 186.9 kB / 0.9868 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/1.281, allocations: 96.7 kB / 0.9869 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/1.281, allocations: 4 kB / 0.9869 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.281, allocations: 30.56 kB / 0.9869 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/1.281, allocations: 0 / 0.9869 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.004824/1.286, allocations: 1.234 MB / 0.9881 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.286, allocations: 63.28 kB / 0.9882 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/1.287, allocations: 274.5 kB / 0.9885 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/1.287, allocations: 29.7 kB / 0.9885 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.287, allocations: 172.2 kB / 0.9887 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.287, allocations: 102.6 kB / 0.9888 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/1.287, allocations: 4 kB / 0.9888 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.287, allocations: 338.8 kB / 0.9891 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/1.288, allocations: 103.7 kB / 0.9892 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/1.288, allocations: 177.2 kB / 0.9894 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/1.289, allocations: 297.1 kB / 0.9896 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.289, allocations: 4 kB / 0.9896 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001517/1.291, allocations: 441.8 kB / 0.9901 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.291, allocations: 7.938 kB / 0.9901 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.291, allocations: 4 kB / 0.9901 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/1.291, allocations: 133 kB / 0.9902 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/1.292, allocations: 59.91 kB / 0.9903 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4835/1.775, allocations: 2.031 MB / 0.9922 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/1.776, allocations: 29.2 kB / 0.9923 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/1.776, allocations: 17.98 kB / 0.9923 GB, free: 219.8 MB / 0.6355 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/1.776, allocations: 151.8 kB / 0.9924 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/1.776, allocations: 24.59 kB / 0.9925 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.776, allocations: 38.95 kB / 0.9925 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.776, allocations: 7.516 kB / 0.9925 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.776, allocations: 0 / 0.9925 GB, free: 219.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/1.778, allocations: 0.6346 MB / 0.9931 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.779, allocations: 0.81 MB / 0.9939 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.779, allocations: 4.703 kB / 0.9939 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.779, allocations: 35.39 kB / 0.9939 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006479/1.78, allocations: 136.3 kB / 0.9941 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.78, allocations: 9.906 kB / 0.9941 GB, free: 218.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/1.783, allocations: 1.941 MB / 0.996 GB, free: 217.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.783, allocations: 2.188 kB / 0.996 GB, free: 217.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.784, allocations: 0.5546 MB / 0.9965 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.784, allocations: 106.9 kB / 0.9966 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/1.784, allocations: 12.06 kB / 0.9966 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.785, allocations: 24.33 kB / 0.9967 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/1.785, allocations: 22.08 kB / 0.9967 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/1.785, allocations: 14.75 kB / 0.9967 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003558/1.785, allocations: 196.1 kB / 0.9969 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.6e-07/1.785, allocations: 0 / 0.9969 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007618/1.786, allocations: 110.7 kB / 0.997 GB, free: 217.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/1.786, allocations: 176.7 kB / 0.9972 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009293/1.787, allocations: 407.2 kB / 0.9975 GB, free: 217 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.787, allocations: 0 / 0.9975 GB, free: 217 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/1.788, allocations: 288.7 kB / 0.9978 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/1.789, allocations: 161.1 kB / 0.998 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/1.79, allocations: 0.7883 MB / 0.9987 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.791, allocations: 0.7676 MB / 0.9995 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003212/1.791, allocations: 55.34 kB / 0.9995 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/1.791, allocations: 25.58 kB / 0.9996 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.791, allocations: 0 / 0.9996 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.01394/1.805, allocations: 7.129 MB / 1.007 GB, free: 215.7 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)