Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.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.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") translateModel(Buildings.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") [/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.2293/0.2312, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.01523/0.2465, allocations: 13.15 MB / 0.6025 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2495, allocations: 1.599 MB / 0.6041 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.2499, allocations: 7.938 kB / 0.6041 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.2508, allocations: 143.3 kB / 0.6042 GB, free: 8.172 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007223/0.2515, allocations: 298.5 kB / 0.6045 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.252, allocations: 177.4 kB / 0.6047 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.253, allocations: 1.129 MB / 0.6058 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2532, allocations: 72.67 kB / 0.6058 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.2538, allocations: 314.6 kB / 0.6061 GB, free: 6.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2542, allocations: 250.9 kB / 0.6064 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.2542, allocations: 16 kB / 0.6064 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.2543, allocations: 20 kB / 0.6064 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2544, allocations: 63.75 kB / 0.6065 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2546, allocations: 151.3 kB / 0.6066 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.255, allocations: 367 kB / 0.607 GB, free: 5.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.255, allocations: 0 / 0.607 GB, free: 5.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.255, allocations: 3.938 kB / 0.607 GB, free: 5.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.255, allocations: 4 kB / 0.607 GB, free: 5.336 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008411/0.2559, allocations: 0.553 MB / 0.6075 GB, free: 4.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2559, allocations: 12.03 kB / 0.6075 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.2562, allocations: 40.55 kB / 0.6076 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2565, allocations: 268.4 kB / 0.6078 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2566, allocations: 16.94 kB / 0.6078 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.2566, allocations: 28.28 kB / 0.6079 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.257, allocations: 312.1 kB / 0.6082 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.257, allocations: 7.938 kB / 0.6082 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.2571, allocations: 12 kB / 0.6082 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.2571, allocations: 11.98 kB / 0.6082 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2574, allocations: 165.5 kB / 0.6084 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.2591, allocations: 1.841 MB / 0.6101 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2593, allocations: 114.6 kB / 0.6103 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.2594, allocations: 56.83 kB / 0.6103 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2595, allocations: 4 kB / 0.6103 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2595, allocations: 38.56 kB / 0.6104 GB, free: 1.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2595, allocations: 0 / 0.6104 GB, free: 1.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001223/0.2607, allocations: 0.6283 MB / 0.611 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2608, allocations: 55.41 kB / 0.611 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.261, allocations: 278.5 kB / 0.6113 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2611, allocations: 33.7 kB / 0.6113 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2612, allocations: 187.6 kB / 0.6115 GB, free: 316 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.2613, allocations: 67.08 kB / 0.6116 GB, free: 248 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.2614, allocations: 57.7 kB / 0.6116 GB, free: 184 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2615, allocations: 334.8 kB / 0.6119 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.2616, allocations: 59.92 kB / 0.612 GB, free: 15.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.2618, allocations: 160.7 kB / 0.6121 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.262, allocations: 231.3 kB / 0.6124 GB, free: 15.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.262, allocations: 4 kB / 0.6124 GB, free: 15.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003985/0.2624, allocations: 285.7 kB / 0.6126 GB, free: 15.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2625, allocations: 8 kB / 0.6126 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2625, allocations: 8.375 kB / 0.6127 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.2626, allocations: 32.78 kB / 0.6127 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2629, allocations: 63.91 kB / 0.6127 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.2639, allocations: 1.284 MB / 0.614 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.264, allocations: 15.98 kB / 0.614 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2641, allocations: 16 kB / 0.614 GB, free: 13.45 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.2642, allocations: 154.5 kB / 0.6142 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.2643, allocations: 23.72 kB / 0.6142 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.2643, allocations: 26.27 kB / 0.6142 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2643, allocations: 8 kB / 0.6142 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2643, allocations: 3.938 kB / 0.6142 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003226/0.2647, allocations: 465.7 kB / 0.6147 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.2655, allocations: 0.5687 MB / 0.6152 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2655, allocations: 8.156 kB / 0.6152 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2656, allocations: 31.92 kB / 0.6153 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.2656, allocations: 4 kB / 0.6153 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2657, allocations: 8 kB / 0.6153 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2657, allocations: 3.984 kB / 0.6153 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2657, allocations: 7.938 kB / 0.6153 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.2661, allocations: 327.3 kB / 0.6156 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.2661, allocations: 104.9 kB / 0.6157 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2662, allocations: 7.984 kB / 0.6157 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2664, allocations: 12 kB / 0.6157 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2664, allocations: 23.92 kB / 0.6158 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2665, allocations: 11.98 kB / 0.6158 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.2666, allocations: 194 kB / 0.616 GB, free: 11.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2666, allocations: 4 kB / 0.616 GB, free: 11.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.2671, allocations: 68 kB / 0.616 GB, free: 11.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001488/0.2672, allocations: 107.2 kB / 0.6161 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005522/0.2678, allocations: 266.5 kB / 0.6164 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2678, allocations: 0 / 0.6164 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2679, allocations: 51.92 kB / 0.6164 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.2692, allocations: 159.2 kB / 0.6166 GB, free: 10.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2704, allocations: 0.6644 MB / 0.6172 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2708, allocations: 0.7524 MB / 0.618 GB, free: 9.141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.271, allocations: 50.94 kB / 0.618 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.2711, allocations: 27.44 kB / 0.618 GB, free: 9.066 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2711, allocations: 0 / 0.618 GB, free: 9.066 MB / 478.1 MB Notification: Performance of Templates: time 0.008712/0.2798, allocations: 4.493 MB / 0.6224 GB, free: 4.633 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe 2>&1)