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.198/0.2001, allocations: 80.84 MB / 0.5899 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTestImplementation): time 0.01465/0.2148, allocations: 13.13 MB / 0.6027 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2174, allocations: 1.595 MB / 0.6042 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.2177, allocations: 4 kB / 0.6042 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.2185, allocations: 155.2 kB / 0.6044 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006435/0.2191, allocations: 294.5 kB / 0.6047 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.2197, allocations: 178 kB / 0.6048 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.2205, allocations: 0.673 MB / 0.6055 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2207, allocations: 104.5 kB / 0.6056 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.2213, allocations: 346.6 kB / 0.6059 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.2217, allocations: 250.9 kB / 0.6062 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.2217, allocations: 24 kB / 0.6062 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.2219, allocations: 32 kB / 0.6062 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.222, allocations: 79.67 kB / 0.6063 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2221, allocations: 159.3 kB / 0.6064 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.2225, allocations: 359.1 kB / 0.6068 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2225, allocations: 0 / 0.6068 GB, free: 5.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2225, allocations: 0 / 0.6068 GB, free: 5.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2225, allocations: 4 kB / 0.6068 GB, free: 5.582 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.0007435/0.2233, allocations: 0.5574 MB / 0.6073 GB, free: 4.977 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2234, allocations: 8.031 kB / 0.6073 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.2236, allocations: 44.55 kB / 0.6074 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.224, allocations: 272.3 kB / 0.6076 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.224, allocations: 16.94 kB / 0.6077 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.2241, allocations: 28.28 kB / 0.6077 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.2245, allocations: 308.1 kB / 0.608 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2246, allocations: 4 kB / 0.608 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2246, allocations: 8 kB / 0.608 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.2246, allocations: 19.92 kB / 0.608 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.2249, allocations: 161.5 kB / 0.6082 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2269, allocations: 1.841 MB / 0.61 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2271, allocations: 106.5 kB / 0.6101 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.2272, allocations: 60.92 kB / 0.6101 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.2272, allocations: 7.922 kB / 0.6101 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2273, allocations: 38.5 kB / 0.6102 GB, free: 1.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2273, allocations: 0 / 0.6102 GB, free: 1.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001216/0.2285, allocations: 0.6415 MB / 0.6108 GB, free: 1.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2285, allocations: 55.34 kB / 0.6108 GB, free: 1.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2288, allocations: 282.5 kB / 0.6111 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2289, allocations: 25.7 kB / 0.6111 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.229, allocations: 199.6 kB / 0.6113 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.229, allocations: 59.11 kB / 0.6114 GB, free: 488 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.2291, allocations: 57.69 kB / 0.6114 GB, free: 424 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2292, allocations: 334.8 kB / 0.6118 GB, free: 80 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.2293, allocations: 51.97 kB / 0.6118 GB, free: 28 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2295, allocations: 164.7 kB / 0.612 GB, free: 15.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2298, allocations: 235.1 kB / 0.6122 GB, free: 15.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2298, allocations: 7.938 kB / 0.6122 GB, free: 15.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004058/0.2302, allocations: 286 kB / 0.6125 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2302, allocations: 8 kB / 0.6125 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2303, allocations: 7.938 kB / 0.6125 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-05/0.2304, allocations: 20.86 kB / 0.6125 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2306, allocations: 75.89 kB / 0.6126 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.2317, allocations: 1.375 MB / 0.6139 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2319, allocations: 24.11 kB / 0.6139 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2319, allocations: 8 kB / 0.614 GB, free: 13.59 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.000178/0.2321, allocations: 156.8 kB / 0.6141 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.2322, allocations: 23.72 kB / 0.6141 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.2322, allocations: 34.11 kB / 0.6142 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2322, allocations: 4 kB / 0.6142 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2322, allocations: 0 / 0.6142 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003137/0.2326, allocations: 458.9 kB / 0.6146 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.2333, allocations: 0.5726 MB / 0.6152 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2333, allocations: 4 kB / 0.6152 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.2335, allocations: 31.92 kB / 0.6152 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.2335, allocations: 12.09 kB / 0.6152 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2335, allocations: 11.98 kB / 0.6152 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2335, allocations: 0 / 0.6152 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2335, allocations: 4 kB / 0.6152 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.2339, allocations: 327.3 kB / 0.6155 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.234, allocations: 100.8 kB / 0.6156 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.234, allocations: 11.94 kB / 0.6156 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2342, allocations: 11.98 kB / 0.6157 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.2343, allocations: 11.98 kB / 0.6157 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2343, allocations: 16.05 kB / 0.6157 GB, free: 11.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2345, allocations: 201.8 kB / 0.6159 GB, free: 11.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2345, allocations: 0 / 0.6159 GB, free: 11.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.2349, allocations: 72 kB / 0.6159 GB, free: 11.35 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.0001315/0.2351, allocations: 103.2 kB / 0.616 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.2355, allocations: 283.1 kB / 0.6163 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.2355, allocations: 4 kB / 0.6163 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.2356, allocations: 51.92 kB / 0.6164 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.2366, allocations: 151.3 kB / 0.6165 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2377, allocations: 0.6699 MB / 0.6172 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2381, allocations: 0.7522 MB / 0.6179 GB, free: 9.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.2383, allocations: 46.95 kB / 0.6179 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2384, allocations: 23.44 kB / 0.618 GB, free: 9.191 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2384, allocations: 0 / 0.618 GB, free: 9.191 MB / 478.1 MB Notification: Performance of Templates: time 0.008924/0.2473, allocations: 4.695 MB / 0.6225 GB, free: 4.562 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)