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.1932/0.1939, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5698/0.7638, allocations: 125.2 MB / 0.7156 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.764, allocations: 133.2 kB / 0.7158 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.764, allocations: 0 / 0.7158 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.7641, allocations: 3.906 kB / 0.7158 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.7642, allocations: 8.156 kB / 0.7158 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.7647, allocations: 139.2 kB / 0.7159 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.7648, allocations: 18.45 kB / 0.7159 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.7648, allocations: 4 kB / 0.7159 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.7649, allocations: 15.2 kB / 0.716 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.765, allocations: 10.42 kB / 0.716 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.765, allocations: 0 / 0.716 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.7653, allocations: 103.3 kB / 0.7161 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.7653, allocations: 11.34 kB / 0.7161 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.7654, allocations: 28.33 kB / 0.7161 GB, free: 16.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.7656, allocations: 46.16 kB / 0.7161 GB, free: 16.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.7656, allocations: 0 / 0.7161 GB, free: 16.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.826e-06/0.7656, allocations: 5.344 kB / 0.7162 GB, free: 16.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.7656, allocations: 4 kB / 0.7162 GB, free: 16.86 MB / 0.545 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.0003589/0.766, allocations: 337.6 kB / 0.7165 GB, free: 16.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.766, allocations: 8.719 kB / 0.7165 GB, free: 16.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.7663, allocations: 29.09 kB / 0.7165 GB, free: 16.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.7664, allocations: 163 kB / 0.7167 GB, free: 16.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.7665, allocations: 31.61 kB / 0.7167 GB, free: 16.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.7665, allocations: 7.875 kB / 0.7167 GB, free: 16.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.7667, allocations: 50.36 kB / 0.7168 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7667, allocations: 0 / 0.7168 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.7667, allocations: 3.812 kB / 0.7168 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.7667, allocations: 2.125 kB / 0.7168 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.7668, allocations: 28.23 kB / 0.7168 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.7671, allocations: 250.3 kB / 0.717 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.7672, allocations: 30.83 kB / 0.7171 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.7672, allocations: 10.44 kB / 0.7171 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.7672, allocations: 30.56 kB / 0.7171 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7672, allocations: 1.859 kB / 0.7171 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.7675, allocations: 51.72 kB / 0.7171 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.7675, allocations: 51.41 kB / 0.7172 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.7676, allocations: 102.7 kB / 0.7173 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.7676, allocations: 25.7 kB / 0.7173 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.7677, allocations: 95.42 kB / 0.7174 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.7677, allocations: 3.906 kB / 0.7174 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.7677, allocations: 0 / 0.7174 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7678, allocations: 314.8 kB / 0.7177 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.7678, allocations: 16.11 kB / 0.7177 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.7678, allocations: 19.14 kB / 0.7177 GB, free: 15.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.7679, allocations: 11.22 kB / 0.7178 GB, free: 15.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7679, allocations: 0 / 0.7178 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.51e-05/0.7679, allocations: 58.75 kB / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.768, allocations: 5.469 kB / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.768, allocations: 3.969 kB / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.768, allocations: 0 / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.7681, allocations: 7.266 kB / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.7681, allocations: 0 / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.7681, allocations: 3.938 kB / 0.7178 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7681, allocations: 6.656 kB / 0.7178 GB, free: 15.19 MB / 0.545 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 (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 8.111e-05/0.7682, allocations: 120.5 kB / 0.718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.7682, allocations: 3.906 kB / 0.718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.7682, allocations: 6.938 kB / 0.718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7682, allocations: 0 / 0.718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7683, allocations: 0 / 0.718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7683, allocations: 2.969 kB / 0.718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.7685, allocations: 366.7 kB / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7686, allocations: 0.875 kB / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.7686, allocations: 13.11 kB / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7686, allocations: 0 / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.7686, allocations: 0 / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7686, allocations: 0 / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7686, allocations: 0 / 0.7183 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.271e-05/0.7687, allocations: 94.61 kB / 0.7184 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.7687, allocations: 77.11 kB / 0.7185 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.7688, allocations: 5.344 kB / 0.7185 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.7688, allocations: 6.562 kB / 0.7185 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.7689, allocations: 7.828 kB / 0.7185 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7689, allocations: 0 / 0.7185 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.7689, allocations: 81.92 kB / 0.7186 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7689, allocations: 4.031 kB / 0.7186 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001948/0.7691, allocations: 8.344 kB / 0.7186 GB, free: 14.39 MB / 0.545 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 (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.0001588/0.7693, allocations: 97.55 kB / 0.7187 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.7694, allocations: 22.92 kB / 0.7187 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7694, allocations: 0 / 0.7187 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.7694, allocations: 3.25 kB / 0.7187 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.7696, allocations: 11.78 kB / 0.7187 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.7699, allocations: 127.9 kB / 0.7189 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.7701, allocations: 0.678 MB / 0.7195 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.7702, allocations: 10.83 kB / 0.7195 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.7702, allocations: 10.06 kB / 0.7195 GB, free: 13.46 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7702, allocations: 0 / 0.7195 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.002245/0.7725, allocations: 0.501 MB / 0.72 GB, free: 13.41 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: