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/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.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") [/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.2463/0.2491, allocations: 80.85 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8398/1.089, allocations: 148.2 MB / 0.8154 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/1.089, allocations: 42.53 kB / 0.8154 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/1.089, allocations: 0 / 0.8154 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/1.09, allocations: 8.938 kB / 0.8154 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/1.09, allocations: 11.03 kB / 0.8154 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/1.091, allocations: 214.2 kB / 0.8156 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.091, allocations: 22.08 kB / 0.8157 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/1.091, allocations: 1.094 kB / 0.8157 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/1.091, allocations: 17.14 kB / 0.8157 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/1.091, allocations: 13.28 kB / 0.8157 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/1.091, allocations: 5.281 kB / 0.8157 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/1.092, allocations: 193.7 kB / 0.8159 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/1.092, allocations: 4.406 kB / 0.8159 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/1.092, allocations: 15.61 kB / 0.8159 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/1.093, allocations: 119.4 kB / 0.816 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.093, allocations: 0 / 0.816 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.326e-06/1.093, allocations: 1.969 kB / 0.816 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.093, allocations: 1.281 kB / 0.816 GB, free: 8.863 MB / 0.5919 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.000581/1.093, allocations: 336.6 kB / 0.8163 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.093, allocations: 11.97 kB / 0.8164 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/1.094, allocations: 22.67 kB / 0.8164 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/1.094, allocations: 160.6 kB / 0.8165 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/1.094, allocations: 45.67 kB / 0.8166 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/1.094, allocations: 1.375 kB / 0.8166 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.094, allocations: 45.48 kB / 0.8166 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.094, allocations: 0 / 0.8166 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.094, allocations: 1.25 kB / 0.8166 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/1.094, allocations: 7.25 kB / 0.8166 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/1.094, allocations: 19.59 kB / 0.8166 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/1.095, allocations: 261.3 kB / 0.8169 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/1.095, allocations: 26.75 kB / 0.8169 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/1.095, allocations: 6.109 kB / 0.8169 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/1.095, allocations: 99.69 kB / 0.817 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.095, allocations: 36.28 kB / 0.8171 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.095, allocations: 3.938 kB / 0.8171 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002866/1.096, allocations: 45.66 kB / 0.8171 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.096, allocations: 51.41 kB / 0.8172 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.096, allocations: 107.1 kB / 0.8173 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/1.096, allocations: 28.09 kB / 0.8173 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/1.096, allocations: 89.81 kB / 0.8174 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/1.096, allocations: 4.078 kB / 0.8174 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/1.096, allocations: 20.44 kB / 0.8174 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.096, allocations: 314.4 kB / 0.8177 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/1.096, allocations: 9.797 kB / 0.8177 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/1.096, allocations: 18.14 kB / 0.8177 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/1.096, allocations: 40.94 kB / 0.8178 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.096, allocations: 0 / 0.8178 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.188e-05/1.096, allocations: 54.58 kB / 0.8178 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.096, allocations: 8.312 kB / 0.8178 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.096, allocations: 1.125 kB / 0.8178 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.096, allocations: 1.156 kB / 0.8178 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/1.096, allocations: 5.625 kB / 0.8178 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.097, allocations: 8.016 kB / 0.8178 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/1.097, allocations: 9.094 kB / 0.8178 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/1.097, allocations: 2.281 kB / 0.8178 GB, free: 7.031 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.097, allocations: 118.1 kB / 0.818 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/1.097, allocations: 5.078 kB / 0.818 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/1.097, allocations: 8.5 kB / 0.818 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.097, allocations: 0 / 0.818 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.097, allocations: 5.125 kB / 0.818 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.097, allocations: 7.922 kB / 0.818 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/1.097, allocations: 361.7 kB / 0.8183 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.097, allocations: 1.125 kB / 0.8183 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/1.097, allocations: 5.781 kB / 0.8183 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.097, allocations: 5.125 kB / 0.8183 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/1.097, allocations: 0 / 0.8183 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.097, allocations: 1.125 kB / 0.8183 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.097, allocations: 1.125 kB / 0.8183 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.501e-05/1.097, allocations: 75.98 kB / 0.8184 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/1.097, allocations: 78.3 kB / 0.8185 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/1.097, allocations: 8.641 kB / 0.8185 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/1.097, allocations: 1.25 kB / 0.8185 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/1.097, allocations: 1.188 kB / 0.8185 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/1.097, allocations: 1.406 kB / 0.8185 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.235e-05/1.098, allocations: 83.39 kB / 0.8186 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 4.031 kB / 0.8186 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001978/1.098, allocations: 6.812 kB / 0.8186 GB, free: 6.238 MB / 0.5919 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 () * Number of clocked 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 (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.0002192/1.098, allocations: 97.69 kB / 0.8187 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001421/1.098, allocations: 20.77 kB / 0.8187 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.098, allocations: 0 / 0.8187 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/1.098, allocations: 3.875 kB / 0.8187 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/1.099, allocations: 8.969 kB / 0.8187 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/1.099, allocations: 117.6 kB / 0.8188 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/1.099, allocations: 0.6749 MB / 0.8195 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.577e-05/1.099, allocations: 10.33 kB / 0.8195 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/1.1, allocations: 8.812 kB / 0.8195 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/1.1, allocations: 0 / 0.8195 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.003434/1.103, allocations: 0.5273 MB / 0.82 GB, free: 5.262 MB / 0.5919 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)