Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 285.4 MB / 298 MB, free: 5.988 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.001597/0.001597, allocations: 172.9 kB / 366.4 MB, free: 2.117 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.803/1.803, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008688/0.0008692, allocations: 88.08 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.926e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8066, allocations: 115.3 MB / 0.9709 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.853, allocations: 389.1 MB / 1.351 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.853, allocations: 83.95 kB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5512/2.404, allocations: 253.8 MB / 1.599 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.635e-06/2.404, allocations: 4 kB / 1.599 GB, free: 8.977 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001139/2.404, allocations: 28.11 kB / 1.599 GB, free: 8.949 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.002966/2.407, allocations: 0.909 MB / 1.6 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/2.407, allocations: 12.03 kB / 1.6 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/2.409, allocations: 183 kB / 1.6 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04411/2.453, allocations: 11.78 MB / 1.611 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005825/2.454, allocations: 96.7 kB / 1.612 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/2.454, allocations: 40 kB / 1.612 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/2.455, allocations: 454.3 kB / 1.612 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/2.456, allocations: 0 / 1.612 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/2.456, allocations: 20 kB / 1.612 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/2.456, allocations: 11.98 kB / 1.612 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/2.457, allocations: 318.9 kB / 1.612 GB, free: 10.9 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.005206/2.462, allocations: 2.268 MB / 1.615 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/2.463, allocations: 275 kB / 1.615 GB, free: 8.148 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/2.463, allocations: 177.9 kB / 1.615 GB, free: 7.973 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/2.464, allocations: 344.7 kB / 1.615 GB, free: 7.562 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/2.464, allocations: 255.9 kB / 1.616 GB, free: 7.293 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 5.03e-06/2.464, allocations: 4 kB / 1.616 GB, free: 7.289 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001581/2.466, allocations: 486.3 kB / 1.616 GB, free: 6.801 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/2.466, allocations: 89.09 kB / 1.616 GB, free: 6.695 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/2.467, allocations: 420.8 kB / 1.617 GB, free: 6.273 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/2.467, allocations: 33.7 kB / 1.617 GB, free: 6.234 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/2.467, allocations: 284.4 kB / 1.617 GB, free: 5.953 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/2.468, allocations: 102.5 kB / 1.617 GB, free: 5.852 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/2.468, allocations: 12 kB / 1.617 GB, free: 5.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002076/2.468, allocations: 362.8 kB / 1.617 GB, free: 5.477 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/2.468, allocations: 124 kB / 1.617 GB, free: 5.355 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/2.469, allocations: 235.1 kB / 1.618 GB, free: 5.086 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/2.469, allocations: 181.4 kB / 1.618 GB, free: 4.902 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.469, allocations: 0 / 1.618 GB, free: 4.902 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00149/2.471, allocations: 0.5342 MB / 1.618 GB, free: 4.352 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004587/2.471, allocations: 0.6453 MB / 1.619 GB, free: 3.652 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/2.471, allocations: 4 kB / 1.619 GB, free: 3.648 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/2.471, allocations: 44.84 kB / 1.619 GB, free: 3.602 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/2.472, allocations: 91.88 kB / 1.619 GB, free: 3.512 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006786/2.473, allocations: 0.5875 MB / 1.62 GB, free: 2.898 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/2.474, allocations: 83.62 kB / 1.62 GB, free: 2.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/2.474, allocations: 23.98 kB / 1.62 GB, free: 2.793 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.474, allocations: 4 kB / 1.62 GB, free: 2.789 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/2.475, allocations: 486.1 kB / 1.62 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.475, allocations: 0 / 1.62 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002734/2.476, allocations: 52.77 kB / 1.62 GB, free: 2.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/2.476, allocations: 92.06 kB / 1.62 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/2.479, allocations: 1.631 MB / 1.622 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/2.48, allocations: 83.72 kB / 1.622 GB, free: 308 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/2.48, allocations: 20 kB / 1.622 GB, free: 288 kB / 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.0002915/2.48, allocations: 162.3 kB / 1.622 GB, free: 116 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/2.48, allocations: 55.34 kB / 1.622 GB, free: 60 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5873/3.068, allocations: 0.5618 MB / 1.623 GB, free: 254.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/3.068, allocations: 11.19 kB / 1.623 GB, free: 254.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/3.068, allocations: 1.719 kB / 1.623 GB, free: 254.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009274/3.069, allocations: 0.7185 MB / 1.624 GB, free: 253.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/3.071, allocations: 1.226 MB / 1.625 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/3.071, allocations: 1.562 kB / 1.625 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/3.072, allocations: 70.25 kB / 1.625 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/3.072, allocations: 41.86 kB / 1.625 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/3.072, allocations: 16.42 kB / 1.625 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003106/3.072, allocations: 0.5784 MB / 1.625 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/3.072, allocations: 2.125 kB / 1.625 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/3.074, allocations: 0.8806 MB / 1.626 GB, free: 252.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/3.074, allocations: 188.2 kB / 1.626 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/3.074, allocations: 14.47 kB / 1.626 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/3.075, allocations: 65.44 kB / 1.627 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/3.075, allocations: 27.75 kB / 1.627 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/3.075, allocations: 19.73 kB / 1.627 GB, free: 252.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004803/3.075, allocations: 336.4 kB / 1.627 GB, free: 252.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.075, allocations: 3.375 kB / 1.627 GB, free: 252.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001825/3.077, allocations: 383.8 kB / 1.627 GB, free: 252.5 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.001042/3.078, allocations: 424.3 kB / 1.628 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001633/3.08, allocations: 0.851 MB / 1.629 GB, free: 252.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/3.08, allocations: 0.6562 kB / 1.629 GB, free: 252.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/3.08, allocations: 273.5 kB / 1.629 GB, free: 252.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/3.082, allocations: 241.5 kB / 1.629 GB, free: 252.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/3.084, allocations: 0.7724 MB / 1.63 GB, free: 251.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/3.084, allocations: 0.8903 MB / 1.631 GB, free: 251.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008039/3.085, allocations: 157.1 kB / 1.631 GB, free: 251.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/3.085, allocations: 40.56 kB / 1.631 GB, free: 251.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/3.085, allocations: 0.8125 kB / 1.631 GB, free: 251.1 MB / 0.948 GB Notification: Performance of Templates: time 0.02295/3.108, allocations: 13.28 MB / 1.644 GB, free: 250.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)