Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") [/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.2074/0.2094, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007804/0.2173, allocations: 4.69 MB / 0.6752 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2202, allocations: 2.648 MB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.2203, allocations: 0 / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.2208, allocations: 43.69 kB / 0.6778 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.2211, allocations: 99.34 kB / 0.6779 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2223, allocations: 434 kB / 0.6784 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2226, allocations: 227.9 kB / 0.6786 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.2226, allocations: 9.562 kB / 0.6786 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.2229, allocations: 111.5 kB / 0.6787 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.223, allocations: 91.59 kB / 0.6788 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2231, allocations: 8 kB / 0.6788 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.2238, allocations: 343.4 kB / 0.6791 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.2238, allocations: 35.89 kB / 0.6791 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.224, allocations: 75.67 kB / 0.6792 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.2246, allocations: 342.8 kB / 0.6795 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.2246, allocations: 4 kB / 0.6795 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2246, allocations: 0 / 0.6795 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.475e-06/0.2246, allocations: 0 / 0.6795 GB, free: 8.812 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009668/0.2256, allocations: 0.4986 MB / 0.68 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2257, allocations: 8.031 kB / 0.68 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.2258, allocations: 20.84 kB / 0.6801 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.2262, allocations: 212.1 kB / 0.6803 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2262, allocations: 20.7 kB / 0.6803 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.2263, allocations: 12.38 kB / 0.6803 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.2268, allocations: 253.1 kB / 0.6805 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2268, allocations: 0 / 0.6805 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2268, allocations: 8 kB / 0.6805 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.2269, allocations: 4 kB / 0.6805 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.2274, allocations: 435.5 kB / 0.681 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.2286, allocations: 1.008 MB / 0.6819 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.229, allocations: 160.5 kB / 0.6821 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2291, allocations: 60.89 kB / 0.6822 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.2307, allocations: 1.817 MB / 0.6839 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2307, allocations: 38.56 kB / 0.684 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.2307, allocations: 0 / 0.684 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003483/0.2311, allocations: 156.5 kB / 0.6841 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2311, allocations: 59.34 kB / 0.6842 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.2313, allocations: 167.3 kB / 0.6843 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2314, allocations: 29.7 kB / 0.6844 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2315, allocations: 136.1 kB / 0.6845 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.2315, allocations: 55.53 kB / 0.6845 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.2316, allocations: 61.64 kB / 0.6846 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2318, allocations: 330.8 kB / 0.6849 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.2318, allocations: 31.98 kB / 0.6849 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.232, allocations: 138.2 kB / 0.6851 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2323, allocations: 193.5 kB / 0.6853 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2323, allocations: 4 kB / 0.6853 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/0.2326, allocations: 213.6 kB / 0.6855 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2326, allocations: 11.94 kB / 0.6855 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2326, allocations: 7.938 kB / 0.6855 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2327, allocations: 4 kB / 0.6855 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2328, allocations: 63.84 kB / 0.6856 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2329, allocations: 4 kB / 0.6856 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.233, allocations: 27.78 kB / 0.6856 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.233, allocations: 16 kB / 0.6856 GB, free: 1.871 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001211/0.2331, allocations: 137.6 kB / 0.6857 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2332, allocations: 19.97 kB / 0.6858 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.2335, allocations: 158.2 kB / 0.6859 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.2335, allocations: 11.88 kB / 0.6859 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2336, allocations: 0 / 0.6859 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2336, allocations: 0 / 0.6859 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.2338, allocations: 217.5 kB / 0.6861 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2338, allocations: 3.984 kB / 0.6861 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.2339, allocations: 20 kB / 0.6861 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2339, allocations: 0 / 0.6861 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.234, allocations: 7.984 kB / 0.6862 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.234, allocations: 11.94 kB / 0.6862 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.234, allocations: 7.938 kB / 0.6862 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.2343, allocations: 219.3 kB / 0.6864 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.2344, allocations: 105 kB / 0.6865 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2344, allocations: 0 / 0.6865 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2346, allocations: 15.92 kB / 0.6865 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2346, allocations: 8 kB / 0.6865 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2346, allocations: 15.98 kB / 0.6865 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.2347, allocations: 116 kB / 0.6866 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2347, allocations: 0 / 0.6866 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003948/0.2351, allocations: 75.88 kB / 0.6867 GB, free: 0.6484 MB / 0.5137 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003784/0.2355, allocations: 171 kB / 0.6869 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.2358, allocations: 119.7 kB / 0.687 GB, free: 360 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2358, allocations: 0 / 0.687 GB, free: 360 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.2359, allocations: 43.92 kB / 0.687 GB, free: 316 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.2364, allocations: 52.83 kB / 0.6871 GB, free: 264 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.2372, allocations: 338.6 kB / 0.6874 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.2376, allocations: 0.7167 MB / 0.6881 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.2378, allocations: 45.8 kB / 0.6881 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.2378, allocations: 27.36 kB / 0.6882 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.2378, allocations: 7.938 kB / 0.6882 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.007352/0.2452, allocations: 3.232 MB / 0.6913 GB, free: 11.89 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)