Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8097/0.8097, allocations: 132.4 MB / 139.9 MB, free: 2.781 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.001342/0.001342, allocations: 184 kB / 171.8 MB, free: 4.918 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.563/1.563, allocations: 170.6 MB / 374.2 MB, free: 196 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.001461/0.001462, allocations: 116.8 kB / 444.8 MB, free: 14.15 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.1642/0.1643, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.422, allocations: 324.9 MB / 0.9839 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/1.423, allocations: 69.66 kB / 0.984 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04359/1.467, allocations: 12.25 MB / 0.9959 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.346e-06/1.467, allocations: 0 / 0.9959 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.467, allocations: 4 kB / 0.9959 GB, free: 122.9 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.0005061/1.467, allocations: 338 kB / 0.9962 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/1.467, allocations: 8.031 kB / 0.9963 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/1.467, allocations: 7.984 kB / 0.9963 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.468, allocations: 167 kB / 0.9964 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.468, allocations: 4 kB / 0.9964 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/1.468, allocations: 8.516 kB / 0.9964 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/1.468, allocations: 19.48 kB / 0.9965 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.468, allocations: 49.38 kB / 0.9965 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.468, allocations: 0 / 0.9965 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.468, allocations: 0 / 0.9965 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.468, allocations: 0 / 0.9965 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/1.468, allocations: 149.5 kB / 0.9966 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/1.468, allocations: 37.27 kB / 0.9967 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/1.468, allocations: 16.84 kB / 0.9967 GB, free: 122 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/1.469, allocations: 0.6195 MB / 0.9973 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.469, allocations: 30.56 kB / 0.9973 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/1.469, allocations: 4 kB / 0.9973 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0007904/1.47, allocations: 276 kB / 0.9976 GB, free: 121 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/1.47, allocations: 63.33 kB / 0.9977 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/1.47, allocations: 96.84 kB / 0.9977 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/1.47, allocations: 25.7 kB / 0.9978 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/1.47, allocations: 84.14 kB / 0.9979 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.471, allocations: 27.17 kB / 0.9979 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/1.471, allocations: 0 / 0.9979 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/1.471, allocations: 322.2 kB / 0.9982 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/1.471, allocations: 10.5 kB / 0.9982 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/1.471, allocations: 54.44 kB / 0.9982 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/1.471, allocations: 15.81 kB / 0.9983 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.471, allocations: 7.938 kB / 0.9983 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001773/1.471, allocations: 80.36 kB / 0.9983 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.471, allocations: 4 kB / 0.9983 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.471, allocations: 4 kB / 0.9984 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.471, allocations: 0 / 0.9984 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.471, allocations: 23.92 kB / 0.9984 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.471, allocations: 4 kB / 0.9984 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/1.471, allocations: 0 / 0.9984 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.471, allocations: 4 kB / 0.9984 GB, free: 120.1 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 9.422e-05/1.472, allocations: 117 kB / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/1.472, allocations: 3.906 kB / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/1.472, allocations: 8.031 kB / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.472, allocations: 4 kB / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.472, allocations: 0 / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.472, allocations: 3.984 kB / 0.9985 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/1.472, allocations: 144.1 kB / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.472, allocations: 4 kB / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.472, allocations: 20.19 kB / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.472, allocations: 0 / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.472, allocations: 4 kB / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.472, allocations: 4 kB / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.472, allocations: 0 / 0.9987 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/1.473, allocations: 165.9 kB / 0.9988 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/1.473, allocations: 85.14 kB / 0.9989 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.473, allocations: 7.891 kB / 0.9989 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.473, allocations: 0 / 0.9989 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/1.473, allocations: 8.359 kB / 0.9989 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.473, allocations: 4 kB / 0.9989 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.795e-05/1.473, allocations: 86.89 kB / 0.999 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/1.473, allocations: 0 / 0.999 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004487/1.473, allocations: 15.94 kB / 0.999 GB, free: 119.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002069/1.474, allocations: 115.2 kB / 0.9991 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001361/1.474, allocations: 35 kB / 0.9992 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.474, allocations: 0 / 0.9992 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/1.474, allocations: 12.14 kB / 0.9992 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/1.474, allocations: 15.81 kB / 0.9992 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/1.475, allocations: 276 kB / 0.9995 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/1.475, allocations: 0.6846 MB / 1 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001108/1.475, allocations: 7.984 kB / 1 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/1.475, allocations: 11.44 kB / 1 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/1.475, allocations: 4 kB / 1 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004702/1.48, allocations: 0.7129 MB / 1.001 GB, free: 117.5 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)