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.2399/0.2421, allocations: 80.83 MB / 0.6706 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006825/0.249, allocations: 4.694 MB / 0.6752 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.252, allocations: 2.644 MB / 0.6778 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.2521, allocations: 0 / 0.6778 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.2524, allocations: 47.67 kB / 0.6778 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2527, allocations: 95.34 kB / 0.6779 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2538, allocations: 440.8 kB / 0.6783 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.2541, allocations: 223.9 kB / 0.6786 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.2542, allocations: 9.562 kB / 0.6786 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2544, allocations: 111.5 kB / 0.6787 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2545, allocations: 87.66 kB / 0.6788 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2545, allocations: 8 kB / 0.6788 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.2551, allocations: 339.4 kB / 0.6791 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.2552, allocations: 43.78 kB / 0.6791 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.2553, allocations: 79.66 kB / 0.6792 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.2558, allocations: 331.2 kB / 0.6795 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2558, allocations: 4 kB / 0.6795 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2558, allocations: 0 / 0.6795 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2558, allocations: 3.938 kB / 0.6795 GB, free: 11.42 MB / 0.5294 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.0007909/0.2566, allocations: 0.4992 MB / 0.68 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2567, allocations: 8.031 kB / 0.68 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2569, allocations: 20.75 kB / 0.68 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2572, allocations: 204.2 kB / 0.6802 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2572, allocations: 16.7 kB / 0.6803 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2572, allocations: 16.38 kB / 0.6803 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2576, allocations: 246.7 kB / 0.6805 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2576, allocations: 0 / 0.6805 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.2576, allocations: 8 kB / 0.6805 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.2577, allocations: 8 kB / 0.6805 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.2582, allocations: 447.4 kB / 0.681 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2594, allocations: 0.9959 MB / 0.6819 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.2598, allocations: 163.8 kB / 0.6821 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2599, allocations: 56.89 kB / 0.6821 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.2615, allocations: 1.833 MB / 0.6839 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2616, allocations: 38.56 kB / 0.684 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.2616, allocations: 0 / 0.684 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003568/0.2619, allocations: 141.5 kB / 0.6841 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.262, allocations: 59.34 kB / 0.6842 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2621, allocations: 171.9 kB / 0.6843 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2622, allocations: 25.7 kB / 0.6843 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.2623, allocations: 143.8 kB / 0.6845 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.2623, allocations: 59.2 kB / 0.6845 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.2624, allocations: 53.64 kB / 0.6846 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2626, allocations: 322.8 kB / 0.6849 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.2626, allocations: 35.97 kB / 0.6849 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2628, allocations: 139.5 kB / 0.6851 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.2631, allocations: 205.4 kB / 0.6853 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2631, allocations: 4 kB / 0.6853 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003474/0.2634, allocations: 216.3 kB / 0.6855 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2635, allocations: 8 kB / 0.6855 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2635, allocations: 4 kB / 0.6855 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2635, allocations: 4 kB / 0.6855 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.2637, allocations: 59.86 kB / 0.6855 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.2637, allocations: 7.984 kB / 0.6855 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2638, allocations: 31.62 kB / 0.6856 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2639, allocations: 12 kB / 0.6856 GB, free: 4.48 MB / 0.5294 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.0001544/0.264, allocations: 137.8 kB / 0.6857 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.2641, allocations: 15.81 kB / 0.6857 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.2644, allocations: 155 kB / 0.6859 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.2644, allocations: 7.938 kB / 0.6859 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2645, allocations: 0 / 0.6859 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2645, allocations: 0 / 0.6859 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2647, allocations: 205.6 kB / 0.6861 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2647, allocations: 0 / 0.6861 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.2648, allocations: 31.92 kB / 0.6861 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2648, allocations: 0 / 0.6861 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2649, allocations: 8 kB / 0.6861 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2649, allocations: 3.938 kB / 0.6861 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2649, allocations: 0 / 0.6861 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.2652, allocations: 219.3 kB / 0.6863 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2653, allocations: 104.9 kB / 0.6864 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.2653, allocations: 4 kB / 0.6864 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2655, allocations: 7.938 kB / 0.6865 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2656, allocations: 15.98 kB / 0.6865 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2656, allocations: 11.98 kB / 0.6865 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001069/0.2657, allocations: 120 kB / 0.6866 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2657, allocations: 3.938 kB / 0.6866 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004202/0.2661, allocations: 71.94 kB / 0.6867 GB, free: 3.277 MB / 0.5294 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.0003604/0.2665, allocations: 191 kB / 0.6868 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.2668, allocations: 119.1 kB / 0.687 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2668, allocations: 0 / 0.687 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.2669, allocations: 43.92 kB / 0.687 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2673, allocations: 64.86 kB / 0.6871 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008439/0.2682, allocations: 338.8 kB / 0.6874 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2685, allocations: 0.7089 MB / 0.6881 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.2687, allocations: 41.77 kB / 0.6881 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.2688, allocations: 19.44 kB / 0.6881 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2688, allocations: 4 kB / 0.6881 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.4558/0.7246, allocations: 3.231 MB / 0.6913 GB, free: 23.03 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)