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.6855/0.6855, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001158/0.001158, allocations: 176.6 kB / 176.9 MB, free: 2.285 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.249/1.249, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001542/0.001542, allocations: 106.2 kB / 450 MB, free: 5.852 MB / 346.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.3994/0.3994, allocations: 73.38 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.121, allocations: 2.115 GB / 2.788 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/5.121, allocations: 71.44 kB / 2.789 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.06406/5.185, allocations: 36.37 MB / 2.824 GB, free: 169.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/5.185, allocations: 0 / 2.824 GB, free: 169.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.68e-06/5.185, allocations: 0 / 2.824 GB, free: 169.9 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.000248/5.186, allocations: 337.1 kB / 2.824 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/5.186, allocations: 6.5 kB / 2.824 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/5.186, allocations: 26.83 kB / 2.824 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/5.186, allocations: 167 kB / 2.825 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/5.186, allocations: 29.66 kB / 2.825 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/5.186, allocations: 3.906 kB / 2.825 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/5.186, allocations: 41.75 kB / 2.825 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/5.186, allocations: 8 kB / 2.825 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/5.186, allocations: 3.812 kB / 2.825 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/5.186, allocations: 3.156 kB / 2.825 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/5.186, allocations: 17.44 kB / 2.825 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/5.187, allocations: 260.1 kB / 2.825 GB, free: 169 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/5.187, allocations: 21.86 kB / 2.825 GB, free: 168.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/5.187, allocations: 15.3 kB / 2.825 GB, free: 168.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/5.187, allocations: 94.81 kB / 2.825 GB, free: 168.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/5.187, allocations: 30.56 kB / 2.825 GB, free: 168.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/5.187, allocations: 0 / 2.825 GB, free: 168.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/5.187, allocations: 49.83 kB / 2.825 GB, free: 168.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/5.187, allocations: 63.31 kB / 2.825 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/5.187, allocations: 95.25 kB / 2.825 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/5.187, allocations: 25.7 kB / 2.825 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/5.187, allocations: 84.05 kB / 2.825 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-06/5.187, allocations: 11.03 kB / 2.825 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/5.187, allocations: 0 / 2.825 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/5.187, allocations: 322.5 kB / 2.826 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/5.187, allocations: 3.219 kB / 2.826 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/5.187, allocations: 22.55 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/5.187, allocations: 11.34 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/5.187, allocations: 3.938 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.053e-05/5.187, allocations: 53.03 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/5.187, allocations: 3.25 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/5.187, allocations: 3.125 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/5.187, allocations: 4 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/5.187, allocations: 9.641 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/5.187, allocations: 3.938 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/5.187, allocations: 3.062 kB / 2.826 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/5.187, allocations: 3.938 kB / 2.826 GB, free: 168.1 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 4.391e-05/5.188, allocations: 108.8 kB / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/5.188, allocations: 3.938 kB / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/5.188, allocations: 3.125 kB / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/5.188, allocations: 4 kB / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/5.188, allocations: 3.188 kB / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/5.188, allocations: 0 / 2.826 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/5.188, allocations: 362.5 kB / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/5.188, allocations: 0 / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/5.188, allocations: 2.969 kB / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/5.188, allocations: 0 / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/5.188, allocations: 3.125 kB / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/5.188, allocations: 7.812 kB / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/5.188, allocations: 0 / 2.826 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.041e-05/5.188, allocations: 88.08 kB / 2.826 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/5.188, allocations: 80.14 kB / 2.826 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/5.188, allocations: 3.938 kB / 2.826 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/5.188, allocations: 6.969 kB / 2.826 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/5.188, allocations: 3.953 kB / 2.826 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/5.188, allocations: 3 kB / 2.826 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.008e-05/5.188, allocations: 78.28 kB / 2.827 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/5.188, allocations: 0 / 2.827 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002775/5.188, allocations: 41.38 kB / 2.827 GB, free: 167.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000527/5.189, allocations: 0.5462 MB / 2.827 GB, free: 167 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/5.189, allocations: 16.22 kB / 2.827 GB, free: 167 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/5.189, allocations: 4.188 kB / 2.827 GB, free: 167 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/5.189, allocations: 3.375 kB / 2.827 GB, free: 167 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/5.189, allocations: 11.84 kB / 2.827 GB, free: 167 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001509/5.189, allocations: 59.75 kB / 2.827 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/5.189, allocations: 0.6798 MB / 2.828 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.333e-05/5.189, allocations: 14.23 kB / 2.828 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/5.189, allocations: 7.438 kB / 2.828 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/5.189, allocations: 0 / 2.828 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.01034/5.2, allocations: 9.249 MB / 2.837 GB, free: 162.6 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)