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.1907/0.1929, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7242/0.9172, allocations: 148.2 MB / 0.8154 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.9174, allocations: 55.8 kB / 0.8154 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.9175, allocations: 5.719 kB / 0.8154 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.9176, allocations: 0 / 0.8154 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.9178, allocations: 8.266 kB / 0.8154 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.9187, allocations: 207 kB / 0.8156 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.9188, allocations: 38.81 kB / 0.8157 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.9188, allocations: 1.312 kB / 0.8157 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.9189, allocations: 14.33 kB / 0.8157 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.919, allocations: 12.27 kB / 0.8157 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.919, allocations: 1.125 kB / 0.8157 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.9194, allocations: 194.3 kB / 0.8159 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.9195, allocations: 11.5 kB / 0.8159 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.9195, allocations: 9.656 kB / 0.8159 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.9198, allocations: 105.5 kB / 0.816 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9199, allocations: 1.875 kB / 0.816 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9199, allocations: 4 kB / 0.816 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9199, allocations: 1.188 kB / 0.816 GB, free: 8.766 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.0005244/0.9204, allocations: 338.5 kB / 0.8163 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.9205, allocations: 9.719 kB / 0.8163 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.9208, allocations: 29.7 kB / 0.8164 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.921, allocations: 172.2 kB / 0.8165 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.9211, allocations: 30.7 kB / 0.8166 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.9211, allocations: 5.125 kB / 0.8166 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.9213, allocations: 48.39 kB / 0.8166 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.9213, allocations: 0 / 0.8166 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.9214, allocations: 5.078 kB / 0.8166 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.9214, allocations: 1.031 kB / 0.8166 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.9215, allocations: 21.44 kB / 0.8166 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.9219, allocations: 262.1 kB / 0.8169 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.922, allocations: 28.17 kB / 0.8169 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.9221, allocations: 10.61 kB / 0.8169 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.9222, allocations: 91.23 kB / 0.817 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.9223, allocations: 31.84 kB / 0.817 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.9223, allocations: 0 / 0.817 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.9225, allocations: 54.47 kB / 0.8171 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.9227, allocations: 56.44 kB / 0.8171 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.9228, allocations: 104.4 kB / 0.8172 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.9228, allocations: 25.7 kB / 0.8173 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.9229, allocations: 91.75 kB / 0.8174 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/0.9229, allocations: 9 kB / 0.8174 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.923, allocations: 12.41 kB / 0.8174 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9231, allocations: 322 kB / 0.8177 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.9231, allocations: 2.562 kB / 0.8177 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.9232, allocations: 25.05 kB / 0.8177 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.9232, allocations: 32.84 kB / 0.8177 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9232, allocations: 5.531 kB / 0.8177 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.648e-05/0.9234, allocations: 53.94 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9234, allocations: 6.781 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9234, allocations: 2.812 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9234, allocations: 1.562 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.9235, allocations: 6.891 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9235, allocations: 1.656 kB / 0.8178 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.9235, allocations: 5.688 kB / 0.8178 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.9235, allocations: 1.594 kB / 0.8178 GB, free: 6.938 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 9.533e-05/0.9236, allocations: 122.6 kB / 0.8179 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.9237, allocations: 1.375 kB / 0.8179 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.9237, allocations: 15.19 kB / 0.818 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9237, allocations: 0 / 0.818 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9237, allocations: 0 / 0.818 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9237, allocations: 3.938 kB / 0.818 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.9241, allocations: 360 kB / 0.8183 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9241, allocations: 5.062 kB / 0.8183 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.9241, allocations: 3.344 kB / 0.8183 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9241, allocations: 3.938 kB / 0.8183 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.9241, allocations: 1.531 kB / 0.8183 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9241, allocations: 5.344 kB / 0.8183 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9241, allocations: 1.781 kB / 0.8183 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.9242, allocations: 73.61 kB / 0.8184 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.9243, allocations: 78.23 kB / 0.8185 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.9243, allocations: 5.531 kB / 0.8185 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.9244, allocations: 3.859 kB / 0.8185 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.9244, allocations: 1.156 kB / 0.8185 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.9244, allocations: 1.188 kB / 0.8185 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.9245, allocations: 83.8 kB / 0.8186 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9245, allocations: 0 / 0.8186 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000193/0.9247, allocations: 6.625 kB / 0.8186 GB, free: 6.148 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.0001454/0.9248, allocations: 108.2 kB / 0.8187 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.9249, allocations: 16.47 kB / 0.8187 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9249, allocations: 0 / 0.8187 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.925, allocations: 7.781 kB / 0.8187 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.9252, allocations: 10.16 kB / 0.8187 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.9257, allocations: 130.7 kB / 0.8188 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.926, allocations: 0.6749 MB / 0.8195 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.886e-05/0.9261, allocations: 5.984 kB / 0.8195 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.9261, allocations: 12.53 kB / 0.8195 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.9261, allocations: 1.125 kB / 0.8195 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of Templates: time 0.003082/0.9292, allocations: 0.5318 MB / 0.82 GB, free: 5.145 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)