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.1927/0.1951, allocations: 80.83 MB / 0.6707 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.01655/0.2117, allocations: 13.18 MB / 0.6835 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2141, allocations: 1.606 MB / 0.6851 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2143, allocations: 4 kB / 0.6851 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.215, allocations: 186.9 kB / 0.6853 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.2155, allocations: 318.2 kB / 0.6856 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.216, allocations: 179.2 kB / 0.6857 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.2166, allocations: 0.673 MB / 0.6864 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.2168, allocations: 104.7 kB / 0.6865 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.2174, allocations: 358.5 kB / 0.6868 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.2177, allocations: 239 kB / 0.6871 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2178, allocations: 24 kB / 0.6871 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2179, allocations: 28 kB / 0.6871 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.218, allocations: 83.73 kB / 0.6872 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2182, allocations: 159.3 kB / 0.6874 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.2187, allocations: 362.8 kB / 0.6877 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2187, allocations: 0 / 0.6877 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2187, allocations: 0 / 0.6877 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.2187, allocations: 0 / 0.6877 GB, free: 0.5781 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008235/0.2195, allocations: 0.5536 MB / 0.6882 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2196, allocations: 12.03 kB / 0.6883 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.2198, allocations: 40.56 kB / 0.6883 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2203, allocations: 283.7 kB / 0.6886 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2203, allocations: 12.94 kB / 0.6886 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.2203, allocations: 28.31 kB / 0.6886 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.2208, allocations: 320 kB / 0.6889 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2208, allocations: 0 / 0.6889 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.2209, allocations: 8 kB / 0.6889 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.2209, allocations: 15.98 kB / 0.6889 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2212, allocations: 169.5 kB / 0.6891 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.2228, allocations: 1.845 MB / 0.6909 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.223, allocations: 110.5 kB / 0.691 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.2231, allocations: 52.94 kB / 0.6911 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2232, allocations: 4 kB / 0.6911 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2232, allocations: 30.56 kB / 0.6911 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2232, allocations: 0 / 0.6911 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001214/0.2244, allocations: 0.6493 MB / 0.6917 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2245, allocations: 51.41 kB / 0.6918 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2248, allocations: 274.6 kB / 0.692 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2248, allocations: 29.7 kB / 0.6921 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2249, allocations: 203.4 kB / 0.6923 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.225, allocations: 59.2 kB / 0.6923 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.2251, allocations: 57.61 kB / 0.6924 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2252, allocations: 338.8 kB / 0.6927 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.2253, allocations: 55.97 kB / 0.6927 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2255, allocations: 152.9 kB / 0.6929 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.2257, allocations: 234.7 kB / 0.6931 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2257, allocations: 0 / 0.6931 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000386/0.2261, allocations: 282.9 kB / 0.6934 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2262, allocations: 8.031 kB / 0.6934 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2262, allocations: 7.938 kB / 0.6934 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.28e-05/0.2263, allocations: 24.84 kB / 0.6934 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.2265, allocations: 67.91 kB / 0.6935 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.2276, allocations: 1.39 MB / 0.6948 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.2277, allocations: 11.94 kB / 0.6949 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2277, allocations: 12 kB / 0.6949 GB, free: 8.59 MB / 0.5294 GB 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.0001439/0.2279, allocations: 157.8 kB / 0.695 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.2279, allocations: 31.69 kB / 0.695 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.228, allocations: 26.19 kB / 0.6951 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.228, allocations: 0 / 0.6951 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.228, allocations: 0 / 0.6951 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000327/0.2283, allocations: 459.7 kB / 0.6955 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.2291, allocations: 0.5803 MB / 0.6961 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2291, allocations: 0 / 0.6961 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.2292, allocations: 47.84 kB / 0.6961 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2293, allocations: 7.938 kB / 0.6961 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2293, allocations: 0 / 0.6961 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2293, allocations: 4 kB / 0.6961 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2293, allocations: 0 / 0.6961 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.2296, allocations: 327.6 kB / 0.6964 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.2297, allocations: 104.8 kB / 0.6965 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2297, allocations: 11.94 kB / 0.6966 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2299, allocations: 4 kB / 0.6966 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.23, allocations: 16.05 kB / 0.6966 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.23, allocations: 11.98 kB / 0.6966 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001673/0.2302, allocations: 198 kB / 0.6968 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2302, allocations: 0 / 0.6968 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003434/0.2305, allocations: 64 kB / 0.6968 GB, free: 6.355 MB / 0.5294 GB 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.0001057/0.2306, allocations: 103.2 kB / 0.6969 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.2311, allocations: 276.5 kB / 0.6972 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2311, allocations: 0 / 0.6972 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.2312, allocations: 55.86 kB / 0.6973 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.232, allocations: 158 kB / 0.6974 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.233, allocations: 0.5868 MB / 0.698 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2333, allocations: 0.7561 MB / 0.6987 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.2334, allocations: 46.95 kB / 0.6988 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.2335, allocations: 27.42 kB / 0.6988 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2335, allocations: 7.938 kB / 0.6988 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.008518/0.242, allocations: 4.752 MB / 0.7034 GB, free: 15.55 MB / 0.545 GB 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)