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.2272/0.228, allocations: 82.22 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005881/0.2339, allocations: 3.551 MB / 0.5969 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.2342, allocations: 139.7 kB / 0.5971 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.2343, allocations: 0 / 0.5971 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2344, allocations: 8 kB / 0.5971 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.2345, allocations: 11.91 kB / 0.5971 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.2349, allocations: 55.8 kB / 0.5971 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.235, allocations: 43.89 kB / 0.5972 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.235, allocations: 0 / 0.5972 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.2351, allocations: 19.91 kB / 0.5972 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.2352, allocations: 8 kB / 0.5972 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2352, allocations: 3.938 kB / 0.5972 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.2354, allocations: 27.91 kB / 0.5972 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.2355, allocations: 15.92 kB / 0.5972 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.2355, allocations: 25.7 kB / 0.5973 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2356, allocations: 28.2 kB / 0.5973 GB, free: 2.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2356, allocations: 4 kB / 0.5973 GB, free: 2.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2356, allocations: 3.938 kB / 0.5973 GB, free: 2.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2356, allocations: 0 / 0.5973 GB, free: 2.004 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.0006203/0.2363, allocations: 331.3 kB / 0.5976 GB, free: 1.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2363, allocations: 8.031 kB / 0.5976 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2364, allocations: 4 kB / 0.5976 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.2366, allocations: 163 kB / 0.5978 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.2367, allocations: 29.69 kB / 0.5978 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2367, allocations: 8 kB / 0.5978 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2369, allocations: 49.66 kB / 0.5979 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2369, allocations: 0 / 0.5979 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2369, allocations: 0 / 0.5979 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2369, allocations: 3.938 kB / 0.5979 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.237, allocations: 15.98 kB / 0.5979 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.2375, allocations: 330 kB / 0.5982 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.2376, allocations: 22.58 kB / 0.5982 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.2376, allocations: 4.859 kB / 0.5982 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.721e-05/0.2377, allocations: 85.17 kB / 0.5983 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2378, allocations: 38.5 kB / 0.5983 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2378, allocations: 0 / 0.5983 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.2379, allocations: 33.69 kB / 0.5984 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.238, allocations: 51.41 kB / 0.5984 GB, free: 0.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.2381, allocations: 113.9 kB / 0.5985 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2381, allocations: 25.7 kB / 0.5986 GB, free: 484 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.2382, allocations: 88.03 kB / 0.5986 GB, free: 392 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.2382, allocations: 3.906 kB / 0.5986 GB, free: 388 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.2382, allocations: 0 / 0.5986 GB, free: 388 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2383, allocations: 326.7 kB / 0.599 GB, free: 52 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.2383, allocations: 0 / 0.599 GB, free: 52 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.2384, allocations: 17.7 kB / 0.599 GB, free: 28 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.2384, allocations: 11.94 kB / 0.599 GB, free: 16 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2384, allocations: 0 / 0.599 GB, free: 16 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.2385, allocations: 45.69 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2385, allocations: 8 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2386, allocations: 0 / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2386, allocations: 0 / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.2386, allocations: 7.938 kB / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2387, allocations: 0 / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.2387, allocations: 8.062 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2387, allocations: 4 kB / 0.5991 GB, free: 15.94 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.2388, allocations: 118.7 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2388, allocations: 3.984 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2389, allocations: 113 kB / 0.5993 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.866e-05/0.239, allocations: 192.1 kB / 0.5995 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.414e-05/0.2391, allocations: 180.3 kB / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/0.2392, allocations: 188.2 kB / 0.5998 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.2395, allocations: 401.2 kB / 0.6002 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-05/0.2395, allocations: 105 kB / 0.6003 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.2396, allocations: 108.9 kB / 0.6004 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-05/0.2397, allocations: 180.3 kB / 0.6006 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.2398, allocations: 180.2 kB / 0.6007 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-05/0.2399, allocations: 176.3 kB / 0.6009 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.008e-05/0.2399, allocations: 184.2 kB / 0.6011 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.2401, allocations: 307.7 kB / 0.6014 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2402, allocations: 193.9 kB / 0.6016 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2404, allocations: 184.3 kB / 0.6017 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2405, allocations: 105 kB / 0.6018 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2406, allocations: 180.5 kB / 0.602 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.2407, allocations: 109 kB / 0.6021 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.2407, allocations: 83.27 kB / 0.6022 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2407, allocations: 4 kB / 0.6022 GB, free: 12.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.241, allocations: 19.94 kB / 0.6022 GB, free: 12.47 MB / 462.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 (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.0002536/0.2413, allocations: 190.5 kB / 0.6024 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.2414, allocations: 7.938 kB / 0.6024 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2414, allocations: 0 / 0.6024 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.2414, allocations: 0 / 0.6024 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.242, allocations: 0.5342 MB / 0.6029 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.2425, allocations: 183.8 kB / 0.6031 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2429, allocations: 0.6731 MB / 0.6038 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.243, allocations: 8 kB / 0.6038 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.243, allocations: 11.42 kB / 0.6038 GB, free: 10.8 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.243, allocations: 0 / 0.6038 GB, free: 10.8 MB / 462.1 MB Notification: Performance of Templates: time 0.003633/0.2466, allocations: 0.5056 MB / 0.6043 GB, free: 10.31 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: