Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8268/0.8268, allocations: 132.4 MB / 139.9 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001939/0.001939, allocations: 175.5 kB / 171.8 MB, free: 4.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.503/1.503, allocations: 170.6 MB / 374.2 MB, free: 164 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001748, allocations: 108.3 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1648/0.1649, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.385, allocations: 314.3 MB / 0.9735 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.386, allocations: 78.95 kB / 0.9736 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01833/1.404, allocations: 8.001 MB / 0.9814 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/1.404, allocations: 3.938 kB / 0.9814 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.404, allocations: 4 kB / 0.9814 GB, free: 136.2 MB / 0.5886 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.0003241/1.404, allocations: 340.9 kB / 0.9817 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.405, allocations: 12.03 kB / 0.9817 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/1.405, allocations: 11.98 kB / 0.9818 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/1.405, allocations: 163.1 kB / 0.9819 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/1.405, allocations: 0 / 0.9819 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/1.405, allocations: 4.625 kB / 0.9819 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.564e-05/1.405, allocations: 11.14 kB / 0.9819 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/1.405, allocations: 71.69 kB / 0.982 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.405, allocations: 3.938 kB / 0.982 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.405, allocations: 4 kB / 0.982 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.405, allocations: 0 / 0.982 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/1.406, allocations: 442 kB / 0.9824 GB, free: 135 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.406, allocations: 71.42 kB / 0.9825 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/1.406, allocations: 22.7 kB / 0.9825 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/1.406, allocations: 0 / 0.9825 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.406, allocations: 38.5 kB / 0.9826 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/1.406, allocations: 0 / 0.9826 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005731/1.407, allocations: 279 kB / 0.9828 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.407, allocations: 106.8 kB / 0.9829 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/1.407, allocations: 100.3 kB / 0.983 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.407, allocations: 25.7 kB / 0.983 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/1.407, allocations: 84.12 kB / 0.9831 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.407, allocations: 30.81 kB / 0.9832 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/1.407, allocations: 0 / 0.9832 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/1.407, allocations: 322 kB / 0.9835 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/1.407, allocations: 11.69 kB / 0.9835 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/1.407, allocations: 47.91 kB / 0.9835 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/1.407, allocations: 19.78 kB / 0.9835 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.407, allocations: 4 kB / 0.9835 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001032/1.407, allocations: 87.47 kB / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.407, allocations: 8 kB / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.407, allocations: 0 / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.407, allocations: 0 / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/1.407, allocations: 20 kB / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.407, allocations: 0 / 0.9836 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/1.407, allocations: 7.984 kB / 0.9837 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.407, allocations: 11.56 kB / 0.9837 GB, free: 133.6 MB / 0.5886 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 5.972e-05/1.407, allocations: 109.1 kB / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/1.407, allocations: 11.95 kB / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/1.407, allocations: 11.56 kB / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.407, allocations: 4 kB / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.407, allocations: 0 / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.407, allocations: 0 / 0.9838 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/1.408, allocations: 149.7 kB / 0.9839 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.408, allocations: 0 / 0.9839 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/1.408, allocations: 15.98 kB / 0.984 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.408, allocations: 8 kB / 0.984 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/1.408, allocations: 3.953 kB / 0.984 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.408, allocations: 3.938 kB / 0.984 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.408, allocations: 7.938 kB / 0.984 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/1.408, allocations: 341.7 kB / 0.9843 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/1.408, allocations: 81.14 kB / 0.9844 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/1.408, allocations: 4 kB / 0.9844 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/1.408, allocations: 3.438 kB / 0.9844 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/1.408, allocations: 7.984 kB / 0.9844 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/1.408, allocations: 4 kB / 0.9844 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.14e-05/1.408, allocations: 75.28 kB / 0.9845 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.82e-07/1.408, allocations: 0 / 0.9845 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003092/1.409, allocations: 15.94 kB / 0.9845 GB, free: 132.7 MB / 0.5886 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.0001588/1.409, allocations: 110.5 kB / 0.9846 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001152/1.409, allocations: 42.36 kB / 0.9846 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.409, allocations: 0 / 0.9846 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/1.409, allocations: 11.94 kB / 0.9846 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/1.409, allocations: 15.33 kB / 0.9847 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/1.41, allocations: 301 kB / 0.9849 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/1.41, allocations: 0.6885 MB / 0.9856 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.265e-05/1.41, allocations: 11.94 kB / 0.9856 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/1.41, allocations: 11.44 kB / 0.9856 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.41, allocations: 0 / 0.9856 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.002605/1.413, allocations: 0.5634 MB / 0.9862 GB, free: 131 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)