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/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.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") [/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.1533/0.154, allocations: 82.21 MB / 0.5941 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02117/0.1752, allocations: 19.92 MB / 0.6136 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00759/0.1829, allocations: 4.302 MB / 0.6178 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1839, allocations: 23.81 kB / 0.6178 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1852, allocations: 314.4 kB / 0.6181 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.1879, allocations: 0.7542 MB / 0.6188 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.1905, allocations: 0.762 MB / 0.6196 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.1937, allocations: 2.37 MB / 0.6219 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1947, allocations: 444.6 kB / 0.6223 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.1964, allocations: 0.6496 MB / 0.6229 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1974, allocations: 0.5133 MB / 0.6234 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1976, allocations: 28 kB / 0.6235 GB, free: 7.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.1996, allocations: 0.9163 MB / 0.6244 GB, free: 6.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1999, allocations: 139.4 kB / 0.6245 GB, free: 6.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007715/0.2007, allocations: 355.9 kB / 0.6248 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.2034, allocations: 1.149 MB / 0.6259 GB, free: 4.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.2035, allocations: 4 kB / 0.6259 GB, free: 4.871 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2035, allocations: 0 / 0.6259 GB, free: 4.871 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.2035, allocations: 0 / 0.6259 GB, free: 4.871 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002095/0.2056, allocations: 0.9248 MB / 0.6269 GB, free: 3.891 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.2057, allocations: 12.03 kB / 0.6269 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2067, allocations: 204 kB / 0.6271 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.2075, allocations: 0.4886 MB / 0.6275 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.2079, allocations: 108.9 kB / 0.6276 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.208, allocations: 44 kB / 0.6277 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.2101, allocations: 0.7791 MB / 0.6284 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.2101, allocations: 3.938 kB / 0.6284 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2102, allocations: 27.98 kB / 0.6285 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.2102, allocations: 15.98 kB / 0.6285 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.2123, allocations: 0.6439 MB / 0.6291 GB, free: 1.473 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003525/0.2158, allocations: 3.198 MB / 0.6322 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.2179, allocations: 0.5613 MB / 0.6328 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.2184, allocations: 229 kB / 0.633 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2184, allocations: 8.234 kB / 0.633 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.2201, allocations: 0.4943 MB / 0.6335 GB, free: 12.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/0.2201, allocations: 0 / 0.6335 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.003651/0.2238, allocations: 1.035 MB / 0.6345 GB, free: 11.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.2239, allocations: 191.9 kB / 0.6347 GB, free: 11.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.2247, allocations: 0.5263 MB / 0.6352 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.2248, allocations: 33.7 kB / 0.6352 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.225, allocations: 320 kB / 0.6355 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2252, allocations: 106.3 kB / 0.6356 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.2252, allocations: 45.69 kB / 0.6357 GB, free: 10.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2254, allocations: 362.8 kB / 0.636 GB, free: 10 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.2262, allocations: 260.6 kB / 0.6363 GB, free: 9.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008904/0.2271, allocations: 441.5 kB / 0.6367 GB, free: 9.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.2306, allocations: 1.268 MB / 0.6379 GB, free: 7.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2306, allocations: 0 / 0.6379 GB, free: 7.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002024/0.2326, allocations: 0.7596 MB / 0.6387 GB, free: 7.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.2328, allocations: 219 kB / 0.6389 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2329, allocations: 4 kB / 0.6389 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2329, allocations: 7.938 kB / 0.6389 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.2337, allocations: 163.8 kB / 0.6391 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.2342, allocations: 0.6095 MB / 0.6397 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/0.2352, allocations: 139.4 kB / 0.6398 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.2352, allocations: 16 kB / 0.6398 GB, free: 5.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2353, allocations: 4 kB / 0.6398 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/0.2365, allocations: 0.5865 MB / 0.6404 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2366, allocations: 7.938 kB / 0.6404 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.2366, allocations: 8 kB / 0.6404 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.2372, allocations: 128.2 kB / 0.6405 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/0.2375, allocations: 0.6016 MB / 0.6411 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.2383, allocations: 107.6 kB / 0.6412 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.2384, allocations: 19.98 kB / 0.6412 GB, free: 4.418 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: dyn.U:VARIABLE(start = 0.01 * dyn.rho_start * Buildings.Fluid.Interfaces.Examples.ConservationEquation.dyn.Medium.specificInternalEnergy(Buildings.Fluid.Interfaces.Examples.ConservationEquation.dyn.Medium.setState_pTX(dyn.p_start, dyn.T_start, {})) unit = "J" fixed = true ) "Internal energy 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: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005069/0.2389, allocations: 340.7 kB / 0.6416 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.239, allocations: 63.25 kB / 0.6416 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.2411, allocations: 0.7431 MB / 0.6423 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2411, allocations: 4 kB / 0.6423 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2411, allocations: 0 / 0.6423 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.2429, allocations: 0.9003 MB / 0.6432 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2454, allocations: 1.314 MB / 0.6445 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.2454, allocations: 0 / 0.6445 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.2461, allocations: 123.9 kB / 0.6446 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.2462, allocations: 28.84 kB / 0.6446 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2463, allocations: 19.92 kB / 0.6447 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/0.2466, allocations: 0.5561 MB / 0.6452 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2467, allocations: 4.031 kB / 0.6452 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.2494, allocations: 1.15 MB / 0.6463 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.2497, allocations: 192.2 kB / 0.6465 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2498, allocations: 12.06 kB / 0.6465 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.2506, allocations: 87.83 kB / 0.6466 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.2507, allocations: 23.97 kB / 0.6466 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.2507, allocations: 15.98 kB / 0.6467 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004666/0.2512, allocations: 374.8 kB / 0.647 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2512, allocations: 3.938 kB / 0.647 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001153/0.2524, allocations: 339.5 kB / 0.6473 GB, free: 13.9 MB / 0.4981 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: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006955/0.2531, allocations: 247.4 kB / 0.6476 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002873/0.256, allocations: 1.072 MB / 0.6486 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.256, allocations: 0 / 0.6486 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.2569, allocations: 395.8 kB / 0.649 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.2587, allocations: 265.3 kB / 0.6493 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.2616, allocations: 1.576 MB / 0.6508 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.2621, allocations: 0.8865 MB / 0.6517 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006901/0.2628, allocations: 139.8 kB / 0.6518 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.263, allocations: 55.42 kB / 0.6518 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.263, allocations: 0 / 0.6518 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of Templates: time 0.02339/0.2864, allocations: 11.92 MB / 0.6635 GB, free: 13.42 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: