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/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.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") [/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.1918/0.1945, allocations: 80.84 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00266/0.1972, allocations: 1.257 MB / 0.6718 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2014, allocations: 3.257 MB / 0.675 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.2015, allocations: 0 / 0.675 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.2016, allocations: 7.922 kB / 0.675 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.2016, allocations: 7.938 kB / 0.675 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.2022, allocations: 103.5 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.2023, allocations: 39.84 kB / 0.6752 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.2024, allocations: 0 / 0.6752 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.2024, allocations: 15.98 kB / 0.6752 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.2025, allocations: 23.91 kB / 0.6752 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2025, allocations: 0 / 0.6752 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.2029, allocations: 75.81 kB / 0.6753 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2029, allocations: 7.984 kB / 0.6753 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.2029, allocations: 11.94 kB / 0.6753 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.2032, allocations: 75.78 kB / 0.6754 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2032, allocations: 7.938 kB / 0.6754 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2032, allocations: 0 / 0.6754 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2032, allocations: 0 / 0.6754 GB, free: 13.14 MB / 0.5137 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.00058/0.2038, allocations: 351.4 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.2038, allocations: 12.03 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.204, allocations: 8.844 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2041, allocations: 160.4 kB / 0.6759 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2042, allocations: 4.375 kB / 0.6759 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.2042, allocations: 8.375 kB / 0.6759 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2044, allocations: 57.8 kB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2044, allocations: 0 / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.2044, allocations: 4 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2044, allocations: 3.938 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.2045, allocations: 19.91 kB / 0.676 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.2048, allocations: 165.7 kB / 0.6761 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.2049, allocations: 50.56 kB / 0.6762 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.2049, allocations: 24.84 kB / 0.6762 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/0.2058, allocations: 0.5868 MB / 0.6768 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2058, allocations: 34.56 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 4.208e-06/0.2058, allocations: 0 / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0008705/0.2067, allocations: 310.5 kB / 0.6771 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.2068, allocations: 55.39 kB / 0.6771 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2069, allocations: 97.86 kB / 0.6772 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2069, allocations: 29.7 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.207, allocations: 84.05 kB / 0.6774 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.207, allocations: 31.55 kB / 0.6774 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.2071, allocations: 29.72 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2073, allocations: 322.8 kB / 0.6777 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.2073, allocations: 12 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.2074, allocations: 53.14 kB / 0.6778 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2075, allocations: 81.19 kB / 0.6779 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2075, allocations: 4 kB / 0.6779 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001521/0.2077, allocations: 89.55 kB / 0.6779 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2077, allocations: 4 kB / 0.6779 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2077, allocations: 4 kB / 0.678 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2077, allocations: 3.938 kB / 0.678 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.2078, allocations: 20 kB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.2078, allocations: 8.109 kB / 0.678 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.2079, allocations: 8.375 kB / 0.678 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2079, allocations: 4 kB / 0.678 GB, free: 10.03 MB / 0.5137 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 () * 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 8.88e-05/0.208, allocations: 117.8 kB / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.208, allocations: 7.906 kB / 0.6781 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.2081, allocations: 7.969 kB / 0.6781 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2081, allocations: 4 kB / 0.6781 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2081, allocations: 3.938 kB / 0.6781 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2081, allocations: 3.938 kB / 0.6781 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2084, allocations: 177.7 kB / 0.6783 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2084, allocations: 4 kB / 0.6783 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.2085, allocations: 15.98 kB / 0.6783 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2085, allocations: 0 / 0.6783 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.2085, allocations: 0 / 0.6783 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2085, allocations: 0 / 0.6783 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2085, allocations: 0 / 0.6783 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.2087, allocations: 179.4 kB / 0.6785 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.2088, allocations: 81.02 kB / 0.6786 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2088, allocations: 8 kB / 0.6786 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2089, allocations: 8.031 kB / 0.6786 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.2089, allocations: 4 kB / 0.6786 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.209, allocations: 3.938 kB / 0.6786 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.209, allocations: 79.28 kB / 0.6787 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.209, allocations: 0 / 0.6787 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002453/0.2093, allocations: 16 kB / 0.6787 GB, free: 9.223 MB / 0.5137 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 () * 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.0001367/0.2094, allocations: 111.2 kB / 0.6788 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2095, allocations: 39.86 kB / 0.6788 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2096, allocations: 0 / 0.6788 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.2096, allocations: 16 kB / 0.6788 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.21, allocations: 7.984 kB / 0.6789 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.2106, allocations: 338.7 kB / 0.6792 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.211, allocations: 0.6852 MB / 0.6798 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.211, allocations: 7.781 kB / 0.6799 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.2111, allocations: 11.44 kB / 0.6799 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.2111, allocations: 7.938 kB / 0.6799 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of Templates: time 0.004091/0.2152, allocations: 0.6362 MB / 0.6805 GB, free: 7.316 MB / 0.5137 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)