Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [/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.21/0.2138, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005732/0.2196, allocations: 4.015 MB / 0.6745 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.2198, allocations: 151.5 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.2198, allocations: 0 / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.22, allocations: 0 / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.2201, allocations: 15.91 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.2204, allocations: 78.83 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.2205, allocations: 27.91 kB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.2205, allocations: 7.938 kB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.2206, allocations: 12 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.2207, allocations: 19.91 kB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2207, allocations: 0 / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.2209, allocations: 55.81 kB / 0.6749 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.221, allocations: 7.984 kB / 0.6749 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.221, allocations: 11.92 kB / 0.6749 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2211, allocations: 39.86 kB / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2211, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2212, allocations: 0 / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2212, allocations: 4 kB / 0.6749 GB, free: 13.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004414/0.2216, allocations: 335.6 kB / 0.6753 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2217, allocations: 8.031 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2217, allocations: 4.922 kB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2218, allocations: 160.4 kB / 0.6754 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.2219, allocations: 30.27 kB / 0.6754 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.2219, allocations: 4.312 kB / 0.6755 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2221, allocations: 53.56 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2221, allocations: 4 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2221, allocations: 0 / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2222, allocations: 3.984 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.2222, allocations: 8 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.2227, allocations: 341.9 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.2228, allocations: 14.64 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.2228, allocations: 16.8 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/0.2229, allocations: 89.09 kB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.2229, allocations: 30.56 kB / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.223, allocations: 0 / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.2231, allocations: 33.7 kB / 0.676 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.2232, allocations: 51.41 kB / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.2233, allocations: 101.8 kB / 0.6762 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2233, allocations: 25.7 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.2234, allocations: 92.17 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/0.2234, allocations: 0 / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.2234, allocations: 21.7 kB / 0.6763 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2236, allocations: 314.8 kB / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.2236, allocations: 7.938 kB / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.2236, allocations: 17.72 kB / 0.6766 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.2237, allocations: 21.7 kB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2237, allocations: 0 / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.272e-05/0.2238, allocations: 49.64 kB / 0.6767 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2238, allocations: 7.984 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2238, allocations: 0 / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2238, allocations: 0 / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.2239, allocations: 8 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2239, allocations: 0 / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.2239, allocations: 3.906 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2239, allocations: 4.062 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.063e-05/0.224, allocations: 121.8 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2241, allocations: 4.219 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2242, allocations: 120.9 kB / 0.677 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/0.2242, allocations: 180.2 kB / 0.6771 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.687e-05/0.2243, allocations: 196.1 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.372e-05/0.2244, allocations: 176.3 kB / 0.6775 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2246, allocations: 405.2 kB / 0.6779 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/0.2247, allocations: 108.9 kB / 0.678 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.2247, allocations: 113 kB / 0.6781 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.136e-05/0.2248, allocations: 180.2 kB / 0.6782 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/0.2249, allocations: 180.3 kB / 0.6784 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.037e-05/0.2249, allocations: 184.2 kB / 0.6786 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.815e-05/0.225, allocations: 176.3 kB / 0.6788 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2252, allocations: 311.7 kB / 0.6791 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.2253, allocations: 182.1 kB / 0.6792 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.2253, allocations: 184.2 kB / 0.6794 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2255, allocations: 105 kB / 0.6795 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.2255, allocations: 180.3 kB / 0.6797 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2256, allocations: 108.9 kB / 0.6798 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.2256, allocations: 83.27 kB / 0.6799 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2257, allocations: 4 kB / 0.6799 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002512/0.2259, allocations: 15.94 kB / 0.6799 GB, free: 8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002613/0.2262, allocations: 198.4 kB / 0.6801 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.96e-05/0.2263, allocations: 8 kB / 0.6801 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2263, allocations: 0 / 0.6801 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.2263, allocations: 7.938 kB / 0.6801 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2267, allocations: 455.8 kB / 0.6805 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.227, allocations: 189.8 kB / 0.6807 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2272, allocations: 0.6768 MB / 0.6814 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.2273, allocations: 8 kB / 0.6814 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.2273, allocations: 7.438 kB / 0.6814 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.2273, allocations: 0 / 0.6814 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.002748/0.2301, allocations: 0.5861 MB / 0.682 GB, free: 5.82 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)