Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8216/0.8216, allocations: 132.4 MB / 139.9 MB, free: 2.809 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.001632/0.001632, allocations: 183.6 kB / 171.8 MB, free: 4.922 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.53/1.53, allocations: 170.6 MB / 374.2 MB, free: 116 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.001285/0.001285, allocations: 116.4 kB / 444.8 MB, free: 14.13 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.1558/0.1558, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/6.265, allocations: 2.114 GB / 2.781 GB, free: 59.34 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/6.265, allocations: 71.95 kB / 2.781 GB, free: 59.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06977/6.335, allocations: 35.72 MB / 2.816 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/6.335, allocations: 0 / 2.816 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.847e-06/6.335, allocations: 0 / 2.816 GB, free: 23.03 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003527/6.335, allocations: 335.7 kB / 2.816 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/6.335, allocations: 12.03 kB / 2.816 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/6.336, allocations: 23.97 kB / 2.816 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/6.336, allocations: 167 kB / 2.816 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/6.336, allocations: 25.7 kB / 2.816 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/6.336, allocations: 0 / 2.816 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.674e-05/6.336, allocations: 23.98 kB / 2.816 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/6.336, allocations: 49.67 kB / 2.816 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/6.336, allocations: 0 / 2.816 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/6.336, allocations: 3.984 kB / 2.816 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/6.336, allocations: 8 kB / 2.816 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/6.337, allocations: 319.2 kB / 2.817 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/6.337, allocations: 22.52 kB / 2.817 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/6.337, allocations: 4.859 kB / 2.817 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/6.337, allocations: 4 kB / 2.817 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/6.337, allocations: 38.66 kB / 2.817 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/6.337, allocations: 0 / 2.817 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002364/6.337, allocations: 41.61 kB / 2.817 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/6.337, allocations: 51.41 kB / 2.817 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/6.337, allocations: 96.98 kB / 2.817 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/6.337, allocations: 29.64 kB / 2.817 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/6.337, allocations: 92.08 kB / 2.817 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/6.337, allocations: 3.938 kB / 2.817 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/6.337, allocations: 0 / 2.817 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/6.337, allocations: 314.8 kB / 2.817 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/6.337, allocations: 15.92 kB / 2.817 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/6.338, allocations: 18.58 kB / 2.817 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/6.338, allocations: 8 kB / 2.817 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/6.338, allocations: 0 / 2.817 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.601e-05/6.338, allocations: 61.47 kB / 2.817 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.338, allocations: 4 kB / 2.817 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/6.338, allocations: 0 / 2.817 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/6.338, allocations: 4 kB / 2.817 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/6.338, allocations: 4 kB / 2.817 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/6.338, allocations: 0 / 2.817 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/6.338, allocations: 4 kB / 2.818 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/6.338, allocations: 8.078 kB / 2.818 GB, free: 21.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.613e-05/6.338, allocations: 112.9 kB / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/6.338, allocations: 0 / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/6.338, allocations: 3.75 kB / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/6.338, allocations: 0 / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/6.338, allocations: 0 / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/6.338, allocations: 0 / 2.818 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/6.338, allocations: 331.2 kB / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/6.338, allocations: 0 / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/6.338, allocations: 4 kB / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/6.338, allocations: 0 / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/6.338, allocations: 0 / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/6.338, allocations: 3.984 kB / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/6.338, allocations: 0 / 2.818 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/6.338, allocations: 65 kB / 2.818 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/6.338, allocations: 81.17 kB / 2.818 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/6.338, allocations: 0 / 2.818 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/6.338, allocations: 3.984 kB / 2.818 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/6.339, allocations: 7.938 kB / 2.818 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/6.339, allocations: 0 / 2.818 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.297e-05/6.339, allocations: 87.55 kB / 2.818 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/6.339, allocations: 0 / 2.818 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002871/6.339, allocations: 27.98 kB / 2.818 GB, free: 20.24 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007982/6.34, allocations: 0.6476 MB / 2.819 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/6.34, allocations: 15.98 kB / 2.819 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/6.34, allocations: 0 / 2.819 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/6.34, allocations: 4 kB / 2.819 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/6.34, allocations: 7.953 kB / 2.819 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/6.34, allocations: 64.3 kB / 2.819 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/6.34, allocations: 0.6807 MB / 2.82 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.974e-05/6.34, allocations: 8.234 kB / 2.82 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/6.34, allocations: 11.44 kB / 2.82 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/6.34, allocations: 0 / 2.82 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.00659/6.347, allocations: 3.586 MB / 2.823 GB, free: 15.17 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)