Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 169 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009704/0.0009703, allocations: 95.73 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.957e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7366/0.7366, allocations: 116.3 MB / 0.9732 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.8, allocations: 389.4 MB / 1.354 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/1.8, allocations: 81.64 kB / 1.354 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5164/2.316, allocations: 252.2 MB / 1.6 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.354e-06/2.317, allocations: 0 / 1.6 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001041/2.317, allocations: 19.98 kB / 1.6 GB, free: 7.062 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002503/2.319, allocations: 0.9209 MB / 1.601 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/2.319, allocations: 12.03 kB / 1.601 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/2.32, allocations: 179 kB / 1.601 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/2.348, allocations: 11.72 MB / 1.612 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/2.349, allocations: 88.64 kB / 1.613 GB, free: 9.926 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/2.349, allocations: 24 kB / 1.613 GB, free: 9.902 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007055/2.35, allocations: 293.5 kB / 1.613 GB, free: 9.617 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/2.35, allocations: 400.8 kB / 1.613 GB, free: 9.199 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/2.35, allocations: 3.938 kB / 1.613 GB, free: 9.195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/2.35, allocations: 4 kB / 1.613 GB, free: 9.191 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/2.351, allocations: 11.95 kB / 1.613 GB, free: 9.18 MB / 0.948 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.003748/2.354, allocations: 2.185 MB / 1.615 GB, free: 6.797 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/2.355, allocations: 262.8 kB / 1.616 GB, free: 6.531 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/2.355, allocations: 169 kB / 1.616 GB, free: 6.363 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/2.355, allocations: 340.6 kB / 1.616 GB, free: 5.957 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00039/2.356, allocations: 250.7 kB / 1.616 GB, free: 5.691 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/2.356, allocations: 0 / 1.616 GB, free: 5.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001343/2.357, allocations: 482 kB / 1.617 GB, free: 5.215 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/2.357, allocations: 81.11 kB / 1.617 GB, free: 5.117 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/2.358, allocations: 369.4 kB / 1.617 GB, free: 4.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/2.358, allocations: 25.7 kB / 1.617 GB, free: 4.719 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/2.358, allocations: 288.1 kB / 1.618 GB, free: 4.434 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.358, allocations: 102.6 kB / 1.618 GB, free: 4.332 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/2.358, allocations: 0 / 1.618 GB, free: 4.332 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001947/2.359, allocations: 358.8 kB / 1.618 GB, free: 3.973 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/2.359, allocations: 116 kB / 1.618 GB, free: 3.859 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/2.359, allocations: 219.1 kB / 1.618 GB, free: 3.605 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/2.36, allocations: 169.2 kB / 1.618 GB, free: 3.441 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.36, allocations: 0 / 1.618 GB, free: 3.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001039/2.361, allocations: 0.4935 MB / 1.619 GB, free: 2.938 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/2.361, allocations: 0.6453 MB / 1.62 GB, free: 2.238 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.361, allocations: 4 kB / 1.62 GB, free: 2.234 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/2.361, allocations: 40.84 kB / 1.62 GB, free: 2.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/2.362, allocations: 91.83 kB / 1.62 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005416/2.362, allocations: 0.5954 MB / 1.62 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/2.363, allocations: 71.69 kB / 1.62 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/2.363, allocations: 19.98 kB / 1.62 GB, free: 1.391 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/2.363, allocations: 5.719 kB / 1.62 GB, free: 1.387 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008922/2.364, allocations: 440.4 kB / 1.621 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/2.364, allocations: 4 kB / 1.621 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/2.364, allocations: 52.89 kB / 1.621 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/2.364, allocations: 84.02 kB / 1.621 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5838/2.948, allocations: 1.56 MB / 1.622 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/2.949, allocations: 68.31 kB / 1.623 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/2.949, allocations: 20.94 kB / 1.623 GB, free: 252 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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.0002212/2.949, allocations: 153.3 kB / 1.623 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/2.949, allocations: 53.2 kB / 1.623 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/2.951, allocations: 0.5247 MB / 1.623 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/2.951, allocations: 4.828 kB / 1.623 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/2.951, allocations: 0.9375 kB / 1.623 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009424/2.952, allocations: 0.6866 MB / 1.624 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/2.954, allocations: 1.121 MB / 1.625 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/2.954, allocations: 1.609 kB / 1.625 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/2.954, allocations: 74.67 kB / 1.625 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/2.954, allocations: 36.94 kB / 1.625 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/2.954, allocations: 8.359 kB / 1.625 GB, free: 251.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/2.955, allocations: 0.5813 MB / 1.626 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.955, allocations: 1.719 kB / 1.626 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/2.956, allocations: 0.8402 MB / 1.627 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/2.956, allocations: 187 kB / 1.627 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/2.956, allocations: 8.094 kB / 1.627 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/2.957, allocations: 64 kB / 1.627 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/2.957, allocations: 25.45 kB / 1.627 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/2.957, allocations: 23.3 kB / 1.627 GB, free: 250.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003553/2.958, allocations: 285 kB / 1.627 GB, free: 250.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/2.958, allocations: 0.7188 kB / 1.627 GB, free: 250.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001562/2.959, allocations: 370.8 kB / 1.627 GB, free: 250.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009141/2.96, allocations: 429 kB / 1.628 GB, free: 250 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00152/2.962, allocations: 0.8153 MB / 1.629 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.962, allocations: 4.203 kB / 1.629 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004015/2.962, allocations: 262.8 kB / 1.629 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/2.963, allocations: 210.4 kB / 1.629 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/2.965, allocations: 0.7505 MB / 1.63 GB, free: 249.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/2.966, allocations: 0.8961 MB / 1.631 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007324/2.966, allocations: 145.1 kB / 1.631 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/2.967, allocations: 36.5 kB / 1.631 GB, free: 248.8 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/2.967, allocations: 3.781 kB / 1.631 GB, free: 248.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02203/2.989, allocations: 11.33 MB / 1.642 GB, free: 248.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)