Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [/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.4734/0.4755, allocations: 80.81 MB / 0.5904 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005677/0.4813, allocations: 4.011 MB / 0.5943 GB, free: 18.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.4815, allocations: 161.1 kB / 0.5945 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.4816, allocations: 0 / 0.5945 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.4817, allocations: 0.5 kB / 0.5945 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.4818, allocations: 12.83 kB / 0.5945 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.4821, allocations: 72.59 kB / 0.5945 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.4822, allocations: 27.86 kB / 0.5946 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.4822, allocations: 6.062 kB / 0.5946 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.4822, allocations: 15.98 kB / 0.5946 GB, free: 18.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.4823, allocations: 15.92 kB / 0.5946 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.4823, allocations: 0 / 0.5946 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.4825, allocations: 59.75 kB / 0.5947 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.4826, allocations: 10.8 kB / 0.5947 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.4826, allocations: 4 kB / 0.5947 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4827, allocations: 42.42 kB / 0.5947 GB, free: 18.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4828, allocations: 0 / 0.5947 GB, free: 18.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4828, allocations: 4 kB / 0.5947 GB, free: 18.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4828, allocations: 0 / 0.5947 GB, free: 18.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003478/0.4831, allocations: 335 kB / 0.595 GB, free: 18.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4832, allocations: 8.031 kB / 0.595 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.4832, allocations: 4.844 kB / 0.5951 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/0.4833, allocations: 168.4 kB / 0.5952 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.4834, allocations: 26.27 kB / 0.5952 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4834, allocations: 384 / 0.5952 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.4835, allocations: 49.62 kB / 0.5953 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4836, allocations: 0 / 0.5953 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4836, allocations: 3.344 kB / 0.5953 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4836, allocations: 3.938 kB / 0.5953 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.4836, allocations: 15.98 kB / 0.5953 GB, free: 17.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.484, allocations: 330 kB / 0.5956 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.856e-05/0.4841, allocations: 22.58 kB / 0.5956 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.4841, allocations: 7.734 kB / 0.5957 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.4841, allocations: 85.16 kB / 0.5957 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4842, allocations: 34.56 kB / 0.5958 GB, free: 17.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4842, allocations: 3.938 kB / 0.5958 GB, free: 17.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.4843, allocations: 29.7 kB / 0.5958 GB, free: 17.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.4844, allocations: 59.47 kB / 0.5959 GB, free: 17.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.4844, allocations: 101.8 kB / 0.596 GB, free: 16.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.4844, allocations: 33.64 kB / 0.596 GB, free: 16.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.4845, allocations: 84.05 kB / 0.5961 GB, free: 16.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.4845, allocations: 0 / 0.5961 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.4845, allocations: 21.62 kB / 0.5961 GB, free: 16.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.4846, allocations: 318.8 kB / 0.5964 GB, free: 16.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.4846, allocations: 4 kB / 0.5964 GB, free: 16.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.4846, allocations: 21.72 kB / 0.5964 GB, free: 16.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.4846, allocations: 17.66 kB / 0.5964 GB, free: 16.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4847, allocations: 7.984 kB / 0.5964 GB, free: 16.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.903e-05/0.4847, allocations: 45.64 kB / 0.5965 GB, free: 16.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4847, allocations: 4 kB / 0.5965 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4848, allocations: 4 kB / 0.5965 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4848, allocations: 4.062 kB / 0.5965 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.4848, allocations: 11.98 kB / 0.5965 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4848, allocations: 0 / 0.5965 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.4849, allocations: 3.938 kB / 0.5965 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4849, allocations: 4 kB / 0.5965 GB, free: 16.35 MB / 446.1 MB 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 (3): * Single equations (assignments): 3 * 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 6.354e-05/0.4849, allocations: 113.8 kB / 0.5966 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.485, allocations: 288 / 0.5966 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.4851, allocations: 124.9 kB / 0.5967 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.4851, allocations: 180.3 kB / 0.5969 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/0.4851, allocations: 188.3 kB / 0.5971 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/0.4852, allocations: 180.2 kB / 0.5973 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4853, allocations: 405.2 kB / 0.5976 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.4854, allocations: 108.9 kB / 0.5978 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.4854, allocations: 109 kB / 0.5979 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.007e-05/0.4854, allocations: 176.3 kB / 0.598 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.4855, allocations: 184.2 kB / 0.5982 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.25e-05/0.4855, allocations: 180.3 kB / 0.5984 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.359e-05/0.4855, allocations: 180.2 kB / 0.5985 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.4856, allocations: 315.7 kB / 0.5988 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.4857, allocations: 178.1 kB / 0.599 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.4857, allocations: 184.2 kB / 0.5992 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4858, allocations: 108.9 kB / 0.5993 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4859, allocations: 192.2 kB / 0.5995 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.4859, allocations: 104.9 kB / 0.5996 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.486, allocations: 79.28 kB / 0.5997 GB, free: 12.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.486, allocations: 0 / 0.5997 GB, free: 12.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.4862, allocations: 19.98 kB / 0.5997 GB, free: 12.88 MB / 446.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002712/0.4865, allocations: 194.4 kB / 0.5999 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.4866, allocations: 15.98 kB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4866, allocations: 4 kB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4866, allocations: 3.938 kB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.4869, allocations: 458.9 kB / 0.6003 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.4872, allocations: 190 kB / 0.6005 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4873, allocations: 0.6729 MB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.4874, allocations: 7.984 kB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.4874, allocations: 7.438 kB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4874, allocations: 0 / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002517/0.4899, allocations: 0.5872 MB / 0.6017 GB, free: 10.71 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)