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/Modelica_StateGraph2 2.0.2/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/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.224/0.2259, allocations: 80.84 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.004054/0.23, allocations: 1.329 MB / 0.591 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.2336, allocations: 2.493 MB / 0.5934 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.2337, allocations: 3.938 kB / 0.5934 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.2337, allocations: 0 / 0.5934 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.2338, allocations: 7.984 kB / 0.5934 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.2344, allocations: 115.5 kB / 0.5935 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.2345, allocations: 39.8 kB / 0.5936 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.2345, allocations: 11.98 kB / 0.5936 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.2346, allocations: 8 kB / 0.5936 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.2347, allocations: 23.91 kB / 0.5936 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2347, allocations: 0 / 0.5936 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.235, allocations: 119.7 kB / 0.5937 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.235, allocations: 8 kB / 0.5937 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.2351, allocations: 19.92 kB / 0.5938 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.2353, allocations: 80.06 kB / 0.5938 GB, free: 2.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2353, allocations: 0 / 0.5938 GB, free: 2.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.2353, allocations: 0 / 0.5938 GB, free: 2.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2353, allocations: 4 kB / 0.5938 GB, free: 2.82 MB / 446.1 MB 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.0004932/0.2358, allocations: 351.5 kB / 0.5942 GB, free: 2.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2359, allocations: 12.02 kB / 0.5942 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.2361, allocations: 16.92 kB / 0.5942 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2363, allocations: 164.3 kB / 0.5944 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2363, allocations: 384 / 0.5944 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.2363, allocations: 12.36 kB / 0.5944 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2365, allocations: 72.39 kB / 0.5944 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2365, allocations: 0 / 0.5944 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2365, allocations: 4 kB / 0.5944 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2365, allocations: 0 / 0.5944 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.2366, allocations: 15.92 kB / 0.5945 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.2373, allocations: 466.8 kB / 0.5949 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.2375, allocations: 71.66 kB / 0.595 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.2375, allocations: 26.64 kB / 0.595 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2375, allocations: 7.938 kB / 0.595 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2376, allocations: 34.56 kB / 0.595 GB, free: 1.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.2376, allocations: 0 / 0.595 GB, free: 1.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000733/0.2383, allocations: 302.2 kB / 0.5953 GB, free: 1.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.2384, allocations: 107.1 kB / 0.5954 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.2385, allocations: 109.8 kB / 0.5955 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2385, allocations: 25.7 kB / 0.5956 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.2386, allocations: 84.14 kB / 0.5956 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2386, allocations: 31.55 kB / 0.5957 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2387, allocations: 21.72 kB / 0.5957 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2388, allocations: 318.8 kB / 0.596 GB, free: 300 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.2389, allocations: 15.98 kB / 0.596 GB, free: 284 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.2389, allocations: 57.08 kB / 0.5961 GB, free: 208 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.239, allocations: 73.59 kB / 0.5961 GB, free: 116 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2391, allocations: 4 kB / 0.5961 GB, free: 112 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00014/0.2392, allocations: 97.45 kB / 0.5962 GB, free: 8 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2392, allocations: 4 kB / 0.5962 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2392, allocations: 4 kB / 0.5962 GB, free: 0 / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/0.2393, allocations: 4.047 kB / 0.5962 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.2394, allocations: 23.94 kB / 0.5963 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2394, allocations: 0 / 0.5963 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.2394, allocations: 7.938 kB / 0.5963 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2395, allocations: 4 kB / 0.5963 GB, free: 15.96 MB / 462.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/0.2396, allocations: 118.7 kB / 0.5964 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.2396, allocations: 7.984 kB / 0.5964 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.2397, allocations: 15.56 kB / 0.5964 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2397, allocations: 0 / 0.5964 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2397, allocations: 0 / 0.5964 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2397, allocations: 0 / 0.5964 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.24, allocations: 185.6 kB / 0.5966 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2401, allocations: 4 kB / 0.5966 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.2401, allocations: 19.92 kB / 0.5966 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2402, allocations: 8 kB / 0.5966 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2402, allocations: 0 / 0.5966 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2402, allocations: 0 / 0.5966 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2402, allocations: 0 / 0.5966 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2404, allocations: 330 kB / 0.5969 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.2405, allocations: 85.05 kB / 0.597 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2405, allocations: 4 kB / 0.597 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2407, allocations: 11.98 kB / 0.597 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.2407, allocations: 4 kB / 0.597 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2407, allocations: 3.938 kB / 0.597 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.2408, allocations: 79.28 kB / 0.5971 GB, free: 15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2408, allocations: 0 / 0.5971 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.2411, allocations: 16 kB / 0.5971 GB, free: 14.99 MB / 462.1 MB 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 () * Number of clocked 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 (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.0001401/0.2412, allocations: 107.3 kB / 0.5972 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.2414, allocations: 47.91 kB / 0.5973 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2414, allocations: 0 / 0.5973 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.2414, allocations: 19.94 kB / 0.5973 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2419, allocations: 11.98 kB / 0.5973 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.2426, allocations: 354.3 kB / 0.5976 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2429, allocations: 0.6848 MB / 0.5983 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.243, allocations: 11.94 kB / 0.5983 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.243, allocations: 11.44 kB / 0.5983 GB, free: 13.69 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.243, allocations: 0 / 0.5983 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Templates: time 0.00316/0.2462, allocations: 0.6184 MB / 0.5989 GB, free: 13.11 MB / 462.1 MB 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)