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.1918/0.1937, allocations: 80.83 MB / 0.6707 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.01326/0.207, allocations: 13.16 MB / 0.6835 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.2098, allocations: 1.61 MB / 0.6851 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.21, allocations: 7.938 kB / 0.6851 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.2107, allocations: 182.9 kB / 0.6853 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.2113, allocations: 306.3 kB / 0.6856 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.2117, allocations: 191.1 kB / 0.6857 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000638/0.2124, allocations: 0.673 MB / 0.6864 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.2126, allocations: 88.69 kB / 0.6865 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.2131, allocations: 362.5 kB / 0.6868 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.2134, allocations: 247 kB / 0.6871 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.2135, allocations: 20 kB / 0.6871 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2136, allocations: 32 kB / 0.6871 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2137, allocations: 75.75 kB / 0.6872 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2138, allocations: 159.3 kB / 0.6873 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.2142, allocations: 366.7 kB / 0.6877 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2142, allocations: 0 / 0.6877 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2143, allocations: 0 / 0.6877 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2143, allocations: 8 kB / 0.6877 GB, free: 0.582 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.0008314/0.2151, allocations: 0.5459 MB / 0.6882 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2152, allocations: 8.031 kB / 0.6882 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.2154, allocations: 44.55 kB / 0.6883 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.2159, allocations: 279.7 kB / 0.6886 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.216, allocations: 20.94 kB / 0.6886 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.216, allocations: 20.38 kB / 0.6886 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.2165, allocations: 320 kB / 0.6889 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2165, allocations: 0 / 0.6889 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.2165, allocations: 12 kB / 0.6889 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.2166, allocations: 8 kB / 0.6889 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.2168, allocations: 173.5 kB / 0.6891 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.2185, allocations: 1.837 MB / 0.6909 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2187, allocations: 114.6 kB / 0.691 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.2188, allocations: 64.77 kB / 0.691 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2188, allocations: 0 / 0.691 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2189, allocations: 34.56 kB / 0.6911 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.2189, allocations: 0 / 0.6911 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001189/0.2201, allocations: 0.6392 MB / 0.6917 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.2201, allocations: 51.41 kB / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2204, allocations: 278.6 kB / 0.692 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2204, allocations: 29.7 kB / 0.692 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2205, allocations: 195.5 kB / 0.6922 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2206, allocations: 59.19 kB / 0.6923 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.2206, allocations: 57.61 kB / 0.6923 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2208, allocations: 342.8 kB / 0.6927 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.2209, allocations: 51.98 kB / 0.6927 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.221, allocations: 156.8 kB / 0.6929 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.2213, allocations: 229.8 kB / 0.6931 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2213, allocations: 4 kB / 0.6931 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004279/0.2217, allocations: 286.6 kB / 0.6934 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2218, allocations: 8 kB / 0.6934 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2218, allocations: 7.938 kB / 0.6934 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.905e-05/0.2219, allocations: 21.28 kB / 0.6934 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2221, allocations: 75.84 kB / 0.6935 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.2231, allocations: 1.39 MB / 0.6948 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2233, allocations: 11.98 kB / 0.6948 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2233, allocations: 11.94 kB / 0.6949 GB, free: 8.598 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.0001479/0.2235, allocations: 153.7 kB / 0.695 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.2235, allocations: 23.72 kB / 0.695 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.2236, allocations: 30.17 kB / 0.6951 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2236, allocations: 64 / 0.6951 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2236, allocations: 8 kB / 0.6951 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003396/0.2239, allocations: 459.7 kB / 0.6955 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.2247, allocations: 0.5686 MB / 0.6961 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2247, allocations: 4 kB / 0.6961 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.2249, allocations: 40.08 kB / 0.6961 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2249, allocations: 7.938 kB / 0.6961 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2249, allocations: 4 kB / 0.6961 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2249, allocations: 0 / 0.6961 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2249, allocations: 4 kB / 0.6961 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.2253, allocations: 327.5 kB / 0.6964 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.2254, allocations: 96.86 kB / 0.6965 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2254, allocations: 19.81 kB / 0.6965 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2256, allocations: 7.984 kB / 0.6965 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.2256, allocations: 11.98 kB / 0.6966 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2256, allocations: 8 kB / 0.6966 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000182/0.2258, allocations: 202 kB / 0.6968 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2258, allocations: 0 / 0.6968 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000344/0.2262, allocations: 68 kB / 0.6968 GB, free: 6.371 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.0001133/0.2263, allocations: 111.1 kB / 0.6969 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.2267, allocations: 269.3 kB / 0.6972 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2268, allocations: 4.062 kB / 0.6972 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.2268, allocations: 51.92 kB / 0.6972 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.2277, allocations: 157 kB / 0.6974 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.2286, allocations: 0.5874 MB / 0.698 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2289, allocations: 0.7483 MB / 0.6987 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.2291, allocations: 46.95 kB / 0.6987 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.2291, allocations: 27.44 kB / 0.6988 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of SimCode: time 1.643e-06/0.2291, allocations: 0 / 0.6988 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.009609/0.2388, allocations: 4.836 MB / 0.7035 GB, free: 15.49 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)