Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7885/0.7885, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 179.6 kB / 187.3 MB, free: 11.89 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.653/1.653, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.001015/0.001015, allocations: 96.33 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 277.7 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.974e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5895, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8389/1.428, allocations: 322 MB / 1.079 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/1.429, allocations: 85.78 kB / 1.079 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02037/1.449, allocations: 8.267 MB / 1.087 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/1.449, allocations: 4 kB / 1.087 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.449, allocations: 0 / 1.087 GB, free: 12.37 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003574/1.45, allocations: 348.9 kB / 1.087 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.45, allocations: 8.031 kB / 1.087 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.45, allocations: 11.98 kB / 1.087 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.45, allocations: 163 kB / 1.087 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.45, allocations: 7.953 kB / 1.087 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/1.45, allocations: 11.41 kB / 1.087 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/1.45, allocations: 67.27 kB / 1.087 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.45, allocations: 0 / 1.087 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.45, allocations: 0 / 1.087 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/1.45, allocations: 4 kB / 1.087 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/1.45, allocations: 19.91 kB / 1.087 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/1.451, allocations: 467.5 kB / 1.088 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/1.451, allocations: 74.3 kB / 1.088 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/1.451, allocations: 22.58 kB / 1.088 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/1.451, allocations: 4 kB / 1.088 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.451, allocations: 42.03 kB / 1.088 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/1.451, allocations: 0 / 1.088 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005944/1.452, allocations: 295.1 kB / 1.088 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/1.452, allocations: 106.9 kB / 1.088 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/1.452, allocations: 95.98 kB / 1.089 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.452, allocations: 29.7 kB / 1.089 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.452, allocations: 87.05 kB / 1.089 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/1.452, allocations: 34.75 kB / 1.089 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.452, allocations: 3.688 kB / 1.089 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.452, allocations: 314.8 kB / 1.089 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/1.452, allocations: 10.81 kB / 1.089 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/1.452, allocations: 51.41 kB / 1.089 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/1.453, allocations: 23.11 kB / 1.089 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.453, allocations: 0 / 1.089 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001316/1.453, allocations: 102.6 kB / 1.089 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.453, allocations: 4 kB / 1.089 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.453, allocations: 4 kB / 1.089 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.453, allocations: 0 / 1.089 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/1.453, allocations: 19.98 kB / 1.089 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.453, allocations: 4 kB / 1.089 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/1.453, allocations: 3.938 kB / 1.089 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.453, allocations: 10.98 kB / 1.089 GB, free: 9.734 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/1.453, allocations: 120.5 kB / 1.089 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.453, allocations: 4.469 kB / 1.089 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/1.453, allocations: 6.75 kB / 1.089 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.453, allocations: 0 / 1.089 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.453, allocations: 7.984 kB / 1.089 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.453, allocations: 3.984 kB / 1.089 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/1.453, allocations: 176.2 kB / 1.089 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.453, allocations: 0 / 1.089 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/1.454, allocations: 16 kB / 1.09 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.454, allocations: 0 / 1.09 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/1.454, allocations: 0 / 1.09 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.454, allocations: 11.94 kB / 1.09 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.454, allocations: 0 / 1.09 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/1.454, allocations: 350.9 kB / 1.09 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/1.454, allocations: 84.55 kB / 1.09 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/1.454, allocations: 11.97 kB / 1.09 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/1.454, allocations: 4 kB / 1.09 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/1.454, allocations: 7.953 kB / 1.09 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/1.454, allocations: 3.5 kB / 1.09 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.984e-05/1.454, allocations: 87.2 kB / 1.09 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/1.454, allocations: 0 / 1.09 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002849/1.454, allocations: 15.31 kB / 1.09 GB, free: 8.777 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001756/1.455, allocations: 119.2 kB / 1.09 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001082/1.455, allocations: 41.25 kB / 1.09 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.455, allocations: 0 / 1.09 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/1.455, allocations: 22.98 kB / 1.09 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/1.455, allocations: 4.609 kB / 1.09 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/1.456, allocations: 289.4 kB / 1.091 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/1.456, allocations: 0.6887 MB / 1.091 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.041e-05/1.456, allocations: 8 kB / 1.091 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.456, allocations: 11.44 kB / 1.091 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/1.456, allocations: 0 / 1.091 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of Templates: time 0.002732/1.459, allocations: 0.6078 MB / 1.092 GB, free: 6.996 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)