Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8938/0.8938, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001245/0.001245, allocations: 174.9 kB / 171.8 MB, free: 4.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.417/1.417, allocations: 170.6 MB / 374.2 MB, free: 208 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001662, allocations: 103.7 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/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.1573/0.1573, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.35, allocations: 344.3 MB / 1.003 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.35, allocations: 85.39 kB / 1.003 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8427/2.193, allocations: 232.3 MB / 1.23 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/2.193, allocations: 3.938 kB / 1.23 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.867e-05/2.193, allocations: 19.91 kB / 1.23 GB, free: 138.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00248/2.195, allocations: 0.9159 MB / 1.231 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/2.195, allocations: 8.031 kB / 1.231 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/2.197, allocations: 191 kB / 1.231 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/2.211, allocations: 6.302 MB / 1.237 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/2.212, allocations: 85.19 kB / 1.237 GB, free: 131 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/2.212, allocations: 27.95 kB / 1.237 GB, free: 131 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000912/2.213, allocations: 326.5 kB / 1.237 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/2.214, allocations: 0.496 MB / 1.238 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/2.214, allocations: 0 / 1.238 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/2.214, allocations: 4 kB / 1.238 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/2.214, allocations: 15.98 kB / 1.238 GB, free: 130.1 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/2.219, allocations: 3.046 MB / 1.241 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/2.219, allocations: 269.1 kB / 1.241 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/2.219, allocations: 149 kB / 1.241 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/2.219, allocations: 4.234 kB / 1.241 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/2.22, allocations: 252.7 kB / 1.242 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/2.22, allocations: 8 kB / 1.242 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.004754/2.225, allocations: 1.395 MB / 1.243 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/2.225, allocations: 191.9 kB / 1.243 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/2.225, allocations: 373.2 kB / 1.243 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/2.225, allocations: 29.7 kB / 1.244 GB, free: 124 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/2.226, allocations: 315.6 kB / 1.244 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/2.226, allocations: 106.5 kB / 1.244 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/2.226, allocations: 4 kB / 1.244 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001266/2.226, allocations: 362.7 kB / 1.244 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/2.226, allocations: 128.8 kB / 1.244 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/2.226, allocations: 309.5 kB / 1.245 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/2.227, allocations: 163.7 kB / 1.245 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/2.227, allocations: 8 kB / 1.245 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002649/2.229, allocations: 0.7862 MB / 1.246 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004668/2.23, allocations: 1.353 MB / 1.247 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/2.23, allocations: 4 kB / 1.247 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/2.23, allocations: 92.81 kB / 1.247 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/2.231, allocations: 107.9 kB / 1.247 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/2.232, allocations: 0.7737 MB / 1.248 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000917/2.233, allocations: 99.88 kB / 1.248 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/2.233, allocations: 20 kB / 1.248 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/2.233, allocations: 4 kB / 1.248 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008149/2.234, allocations: 428.3 kB / 1.248 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/2.234, allocations: 4 kB / 1.248 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/2.234, allocations: 52.78 kB / 1.248 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/2.234, allocations: 112 kB / 1.249 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/2.236, allocations: 1.579 MB / 1.25 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/2.236, allocations: 71.84 kB / 1.25 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/2.236, allocations: 24 kB / 1.25 GB, free: 116.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/2.237, allocations: 152 kB / 1.25 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/2.237, allocations: 55.33 kB / 1.25 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/2.239, allocations: 0.7312 MB / 1.251 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/2.239, allocations: 7.938 kB / 1.251 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/2.239, allocations: 0 / 1.251 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001976/2.241, allocations: 0.9019 MB / 1.252 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/2.244, allocations: 1.354 MB / 1.253 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/2.244, allocations: 7.984 kB / 1.253 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/2.245, allocations: 68.02 kB / 1.253 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/2.245, allocations: 121.1 kB / 1.254 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/2.245, allocations: 8 kB / 1.254 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/2.249, allocations: 2.635 MB / 1.256 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/2.249, allocations: 320 / 1.256 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/2.252, allocations: 1.061 MB / 1.257 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/2.252, allocations: 172.5 kB / 1.257 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/2.252, allocations: 11.98 kB / 1.257 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/2.253, allocations: 87.89 kB / 1.257 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/2.253, allocations: 31.89 kB / 1.257 GB, free: 109 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.851e-05/2.253, allocations: 11.98 kB / 1.257 GB, free: 109 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003613/2.254, allocations: 287 kB / 1.258 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.254, allocations: 4 kB / 1.258 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001859/2.255, allocations: 363.8 kB / 1.258 GB, free: 108.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dyn.U) * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009451/2.256, allocations: 393 kB / 1.258 GB, free: 108 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001947/2.258, allocations: 0.9212 MB / 1.259 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.258, allocations: 0 / 1.259 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009918/2.259, allocations: 490 kB / 1.26 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/2.261, allocations: 221.5 kB / 1.26 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/2.262, allocations: 0.7627 MB / 1.261 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/2.262, allocations: 0.9027 MB / 1.262 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007259/2.263, allocations: 156.7 kB / 1.262 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/2.263, allocations: 39.36 kB / 1.262 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/2.263, allocations: 4 kB / 1.262 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02376/2.287, allocations: 12.31 MB / 1.274 GB, free: 92.19 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)