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.7158/0.7158, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001204/0.001204, allocations: 175.8 kB / 176.9 MB, free: 2.258 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.359/1.359, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001628/0.001628, allocations: 116.2 kB / 450 MB, free: 5.855 MB / 346.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.4403/0.4403, allocations: 73.38 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7052/1.146, allocations: 345 MB / 1.01 GB, free: 54.34 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/1.146, allocations: 85.14 kB / 1.011 GB, free: 54.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7622/1.908, allocations: 234 MB / 1.239 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/1.908, allocations: 0 / 1.239 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.028e-05/1.908, allocations: 16 kB / 1.239 GB, free: 128.6 MB / 0.6198 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.001473/1.91, allocations: 0.8991 MB / 1.24 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.91, allocations: 12.03 kB / 1.24 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/1.91, allocations: 181.8 kB / 1.24 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/1.922, allocations: 6.338 MB / 1.246 GB, free: 121 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/1.922, allocations: 100.9 kB / 1.246 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/1.922, allocations: 44 kB / 1.246 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/1.923, allocations: 0.6738 MB / 1.247 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.923, allocations: 0 / 1.247 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/1.924, allocations: 27.92 kB / 1.247 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/1.924, allocations: 16 kB / 1.247 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.925, allocations: 474.6 kB / 1.248 GB, free: 119.7 MB / 0.6198 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.002639/1.927, allocations: 3.152 MB / 1.251 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.928, allocations: 379 kB / 1.251 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/1.929, allocations: 157 kB / 1.251 GB, free: 115.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/1.929, allocations: 4.234 kB / 1.251 GB, free: 115.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008741/1.929, allocations: 376.8 kB / 1.252 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/1.929, allocations: 0 / 1.252 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.001775/1.931, allocations: 0.6185 MB / 1.252 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/1.931, allocations: 187.9 kB / 1.252 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/1.932, allocations: 472.7 kB / 1.253 GB, free: 114 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/1.932, allocations: 37.64 kB / 1.253 GB, free: 113.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/1.932, allocations: 312 kB / 1.253 GB, free: 113.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/1.932, allocations: 106.5 kB / 1.253 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/1.932, allocations: 8 kB / 1.253 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/1.932, allocations: 366.8 kB / 1.254 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.932, allocations: 132.8 kB / 1.254 GB, free: 113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.933, allocations: 309.7 kB / 1.254 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/1.933, allocations: 211.6 kB / 1.254 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.933, allocations: 0 / 1.254 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006578/1.934, allocations: 0.5293 MB / 1.255 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002517/1.934, allocations: 1.341 MB / 1.256 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.934, allocations: 7.938 kB / 1.256 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.934, allocations: 4 kB / 1.256 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/1.935, allocations: 163.8 kB / 1.256 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002397/1.935, allocations: 0.6055 MB / 1.257 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/1.936, allocations: 127.5 kB / 1.257 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/1.936, allocations: 24 kB / 1.257 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.936, allocations: 5.094 kB / 1.257 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005475/1.936, allocations: 461 kB / 1.257 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.936, allocations: 8.438 kB / 1.257 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/1.936, allocations: 8 kB / 1.257 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/1.937, allocations: 127.8 kB / 1.257 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001804/1.937, allocations: 0.5977 MB / 1.258 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/1.938, allocations: 103.5 kB / 1.258 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/1.938, allocations: 20 kB / 1.258 GB, free: 108.1 MB / 0.6198 GB Warning: Assuming fixed start value for the following 1 variables: dyn.m:VARIABLE(min = max(0.0, 0.0) unit = "kg" ) "Mass of fluid" type: Real 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/1.938, allocations: 168 kB / 1.258 GB, free: 108 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/1.938, allocations: 59.25 kB / 1.258 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/1.939, allocations: 0.5057 MB / 1.259 GB, free: 107.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.939, allocations: 4 kB / 1.259 GB, free: 107.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.939, allocations: 4 kB / 1.259 GB, free: 107.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005612/1.939, allocations: 0.6578 MB / 1.26 GB, free: 106.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.94, allocations: 1.069 MB / 1.261 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.94, allocations: 0 / 1.261 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/1.941, allocations: 116 kB / 1.261 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/1.941, allocations: 32.73 kB / 1.261 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/1.941, allocations: 16 kB / 1.261 GB, free: 105.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001993/1.941, allocations: 0.5484 MB / 1.261 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.941, allocations: 3.984 kB / 1.261 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/1.942, allocations: 0.8108 MB / 1.262 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/1.943, allocations: 192.2 kB / 1.262 GB, free: 103.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/1.943, allocations: 8 kB / 1.262 GB, free: 103.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/1.943, allocations: 95.91 kB / 1.262 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/1.943, allocations: 23.92 kB / 1.262 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.943, allocations: 12 kB / 1.262 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003138/1.944, allocations: 357.5 kB / 1.263 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/1.944, allocations: 0 / 1.263 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001061/1.945, allocations: 371.4 kB / 1.263 GB, free: 102.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (dyn.U,dyn.m) * 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 (28): * Single equations (assignments): 26 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007181/1.945, allocations: 393.3 kB / 1.263 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.947, allocations: 0.7294 MB / 1.264 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.947, allocations: 4 kB / 1.264 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/1.947, allocations: 244.8 kB / 1.264 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.948, allocations: 255.4 kB / 1.265 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/1.949, allocations: 0.847 MB / 1.265 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.95, allocations: 0.8991 MB / 1.266 GB, free: 99.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006753/1.95, allocations: 172.4 kB / 1.267 GB, free: 99.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.951, allocations: 51.41 kB / 1.267 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/1.951, allocations: 0 / 1.267 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.01735/1.968, allocations: 13.82 MB / 1.28 GB, free: 85.43 MB / 0.6198 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)