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.242/0.2446, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005918/0.2506, allocations: 4.703 MB / 0.6752 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.2536, allocations: 2.636 MB / 0.6778 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2537, allocations: 0 / 0.6778 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.2541, allocations: 51.61 kB / 0.6778 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.2544, allocations: 107.4 kB / 0.6779 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2557, allocations: 442 kB / 0.6784 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.256, allocations: 219.9 kB / 0.6786 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.2561, allocations: 13.55 kB / 0.6786 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.2563, allocations: 111.6 kB / 0.6787 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2565, allocations: 95.64 kB / 0.6788 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2565, allocations: 8 kB / 0.6788 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.2572, allocations: 351.3 kB / 0.6791 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.2573, allocations: 31.89 kB / 0.6792 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2574, allocations: 79.64 kB / 0.6792 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.258, allocations: 335.1 kB / 0.6796 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.258, allocations: 0 / 0.6796 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.258, allocations: 0 / 0.6796 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.258, allocations: 0 / 0.6796 GB, free: 8.836 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.000776/0.2588, allocations: 0.4953 MB / 0.68 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2588, allocations: 8.031 kB / 0.68 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.259, allocations: 20.83 kB / 0.6801 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2593, allocations: 208.1 kB / 0.6803 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2593, allocations: 16.7 kB / 0.6803 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.2594, allocations: 16.38 kB / 0.6803 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.2598, allocations: 245.1 kB / 0.6805 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2598, allocations: 0 / 0.6805 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2598, allocations: 12 kB / 0.6805 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.2599, allocations: 8 kB / 0.6805 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.2604, allocations: 435.4 kB / 0.681 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2615, allocations: 0.9959 MB / 0.6819 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2618, allocations: 160.5 kB / 0.6821 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2619, allocations: 68.88 kB / 0.6822 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.2633, allocations: 1.821 MB / 0.6839 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2633, allocations: 34.56 kB / 0.684 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2633, allocations: 0 / 0.684 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003406/0.2637, allocations: 145.4 kB / 0.6841 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2637, allocations: 55.34 kB / 0.6842 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2639, allocations: 179.2 kB / 0.6843 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2639, allocations: 33.7 kB / 0.6844 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.264, allocations: 139.8 kB / 0.6845 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.2641, allocations: 51.3 kB / 0.6845 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.2641, allocations: 49.61 kB / 0.6846 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2643, allocations: 330.8 kB / 0.6849 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.2643, allocations: 31.98 kB / 0.6849 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2645, allocations: 134.2 kB / 0.6851 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.2647, allocations: 208.4 kB / 0.6853 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2647, allocations: 0 / 0.6853 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002984/0.265, allocations: 213.1 kB / 0.6855 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.265, allocations: 8 kB / 0.6855 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2651, allocations: 0 / 0.6855 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2651, allocations: 8 kB / 0.6855 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2653, allocations: 59.84 kB / 0.6855 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2653, allocations: 8.406 kB / 0.6855 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2654, allocations: 35.62 kB / 0.6856 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2654, allocations: 12 kB / 0.6856 GB, free: 1.914 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.0001216/0.2656, allocations: 145.6 kB / 0.6857 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.2656, allocations: 11.91 kB / 0.6857 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.2659, allocations: 166.8 kB / 0.6859 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2659, allocations: 3.938 kB / 0.6859 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2659, allocations: 0 / 0.6859 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.266, allocations: 0 / 0.6859 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.2662, allocations: 217.6 kB / 0.6861 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2662, allocations: 0 / 0.6861 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.2663, allocations: 23.94 kB / 0.6861 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2663, allocations: 4 kB / 0.6861 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2663, allocations: 7.984 kB / 0.6861 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2663, allocations: 3.938 kB / 0.6862 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2663, allocations: 0 / 0.6862 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2666, allocations: 215.3 kB / 0.6864 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.2667, allocations: 108.9 kB / 0.6865 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2667, allocations: 8 kB / 0.6865 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2669, allocations: 11.92 kB / 0.6865 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2669, allocations: 15.92 kB / 0.6865 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2669, allocations: 12 kB / 0.6865 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.267, allocations: 116 kB / 0.6866 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.267, allocations: 3.938 kB / 0.6866 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000381/0.2674, allocations: 75.94 kB / 0.6867 GB, free: 0.6875 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.0003084/0.2677, allocations: 167.2 kB / 0.6869 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.268, allocations: 127.9 kB / 0.687 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.268, allocations: 256 / 0.687 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.2681, allocations: 43.92 kB / 0.687 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2685, allocations: 47.95 kB / 0.6871 GB, free: 308 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.2692, allocations: 338.8 kB / 0.6874 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2695, allocations: 0.7128 MB / 0.6881 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.2696, allocations: 49.73 kB / 0.6881 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.2697, allocations: 31.42 kB / 0.6882 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.2697, allocations: 0 / 0.6882 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.006511/0.2762, allocations: 3.247 MB / 0.6913 GB, free: 11.91 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)