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.2793/0.2815, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007638/0.2891, allocations: 4.686 MB / 0.6752 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.2923, allocations: 2.632 MB / 0.6778 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2925, allocations: 0 / 0.6778 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2929, allocations: 51.61 kB / 0.6778 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.2934, allocations: 103.3 kB / 0.6779 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.295, allocations: 444.5 kB / 0.6784 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2954, allocations: 216 kB / 0.6786 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.2954, allocations: 13.5 kB / 0.6786 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.2957, allocations: 111.5 kB / 0.6787 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.296, allocations: 83.66 kB / 0.6788 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.296, allocations: 12 kB / 0.6788 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009814/0.297, allocations: 355.3 kB / 0.6791 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.2971, allocations: 35.89 kB / 0.6791 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2972, allocations: 75.66 kB / 0.6792 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.2981, allocations: 335.1 kB / 0.6795 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2982, allocations: 4 kB / 0.6795 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2982, allocations: 0 / 0.6795 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2982, allocations: 0 / 0.6795 GB, free: 8.82 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.0008331/0.299, allocations: 0.4914 MB / 0.68 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2991, allocations: 15.97 kB / 0.68 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2993, allocations: 20.84 kB / 0.6801 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2996, allocations: 208.1 kB / 0.6803 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2996, allocations: 16.69 kB / 0.6803 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2996, allocations: 16.36 kB / 0.6803 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.3, allocations: 249.1 kB / 0.6805 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3001, allocations: 3.938 kB / 0.6805 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3001, allocations: 8 kB / 0.6805 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.3001, allocations: 4 kB / 0.6805 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.3007, allocations: 431.5 kB / 0.6809 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3021, allocations: 1.004 MB / 0.6819 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.3024, allocations: 164.5 kB / 0.6821 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3025, allocations: 56.84 kB / 0.6821 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.3041, allocations: 1.821 MB / 0.6839 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3041, allocations: 38.56 kB / 0.684 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3042, allocations: 0 / 0.684 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003714/0.3045, allocations: 141.4 kB / 0.6841 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3046, allocations: 63.28 kB / 0.6842 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3048, allocations: 175.2 kB / 0.6843 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.3048, allocations: 25.7 kB / 0.6843 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.3049, allocations: 139.8 kB / 0.6845 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.305, allocations: 55.28 kB / 0.6845 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.305, allocations: 53.61 kB / 0.6846 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3052, allocations: 322.8 kB / 0.6849 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.3053, allocations: 35.97 kB / 0.6849 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3055, allocations: 141.3 kB / 0.6851 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3058, allocations: 201.4 kB / 0.6852 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.3058, allocations: 3.984 kB / 0.6853 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003744/0.3062, allocations: 209.1 kB / 0.6855 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3062, allocations: 8 kB / 0.6855 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3062, allocations: 7.938 kB / 0.6855 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3062, allocations: 4 kB / 0.6855 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3064, allocations: 55.86 kB / 0.6855 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.3064, allocations: 12.39 kB / 0.6855 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3066, allocations: 31.69 kB / 0.6856 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3066, allocations: 16 kB / 0.6856 GB, free: 1.895 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.0001293/0.3067, allocations: 141.6 kB / 0.6857 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.3068, allocations: 11.91 kB / 0.6857 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.3071, allocations: 158.2 kB / 0.6859 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.3071, allocations: 7.938 kB / 0.6859 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3072, allocations: 0 / 0.6859 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3072, allocations: 0 / 0.6859 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3074, allocations: 213.6 kB / 0.6861 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3075, allocations: 0 / 0.6861 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.3075, allocations: 31.92 kB / 0.6861 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3076, allocations: 0 / 0.6861 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3076, allocations: 8 kB / 0.6861 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3076, allocations: 3.938 kB / 0.6861 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3076, allocations: 0 / 0.6861 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3079, allocations: 227.2 kB / 0.6863 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.308, allocations: 104.9 kB / 0.6864 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.308, allocations: 4 kB / 0.6865 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3082, allocations: 15.88 kB / 0.6865 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.3082, allocations: 11.98 kB / 0.6865 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3083, allocations: 11.98 kB / 0.6865 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000114/0.3084, allocations: 120 kB / 0.6866 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3084, allocations: 0 / 0.6866 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004706/0.3089, allocations: 75.92 kB / 0.6867 GB, free: 0.6758 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.0003716/0.3092, allocations: 167.2 kB / 0.6868 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.3096, allocations: 120.5 kB / 0.687 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3096, allocations: 0 / 0.687 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.3097, allocations: 52.05 kB / 0.687 GB, free: 340 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.3102, allocations: 47.94 kB / 0.687 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.311, allocations: 346.8 kB / 0.6874 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3114, allocations: 0.7089 MB / 0.6881 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.3116, allocations: 41.83 kB / 0.6881 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.3117, allocations: 19.44 kB / 0.6881 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.3117, allocations: 0 / 0.6881 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.007534/0.3192, allocations: 3.292 MB / 0.6913 GB, free: 11.87 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)