Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001552, allocations: 181 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 94.3 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 9.688 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.361, allocations: 381.5 MB / 1.271 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.361, allocations: 95.25 kB / 1.272 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.447/2.809, allocations: 247.6 MB / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.735e-06/2.809, allocations: 0 / 1.513 GB, free: 244 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.345e-05/2.809, allocations: 19.52 kB / 1.513 GB, free: 244 MB / 0.8855 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.002618/2.812, allocations: 1.016 MB / 1.514 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/2.812, allocations: 8.031 kB / 1.514 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/2.813, allocations: 183 kB / 1.515 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.036/2.849, allocations: 11.5 MB / 1.526 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/2.85, allocations: 92.94 kB / 1.526 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/2.85, allocations: 40 kB / 1.526 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/2.852, allocations: 0.5007 MB / 1.526 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/2.852, allocations: 3.984 kB / 1.526 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/2.852, allocations: 16 kB / 1.526 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/2.852, allocations: 19.95 kB / 1.526 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/2.854, allocations: 426.6 kB / 1.527 GB, free: 230.2 MB / 0.8855 GB 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.004312/2.858, allocations: 2.269 MB / 1.529 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/2.86, allocations: 390.9 kB / 1.529 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/2.86, allocations: 340.6 kB / 1.53 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009856/2.861, allocations: 302.9 kB / 1.53 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 4.027e-06/2.861, allocations: 0 / 1.53 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.003615/2.865, allocations: 0.9698 MB / 1.531 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/2.865, allocations: 85.09 kB / 1.531 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/2.865, allocations: 426.2 kB / 1.531 GB, free: 225 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/2.866, allocations: 37.64 kB / 1.531 GB, free: 225 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/2.866, allocations: 280.3 kB / 1.532 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/2.866, allocations: 122.4 kB / 1.532 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/2.866, allocations: 4 kB / 1.532 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001016/2.866, allocations: 362.8 kB / 1.532 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/2.867, allocations: 179.9 kB / 1.532 GB, free: 224 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/2.868, allocations: 277.7 kB / 1.533 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/2.869, allocations: 233.4 kB / 1.533 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/2.869, allocations: 0 / 1.533 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002404/2.871, allocations: 0.6248 MB / 1.533 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/2.871, allocations: 0.649 MB / 1.534 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/2.871, allocations: 0 / 1.534 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/2.872, allocations: 60.81 kB / 1.534 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/2.872, allocations: 87.88 kB / 1.534 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005843/2.873, allocations: 0.5953 MB / 1.535 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/2.874, allocations: 87.59 kB / 1.535 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/2.874, allocations: 19.98 kB / 1.535 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/2.874, allocations: 6.344 kB / 1.535 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00211/2.876, allocations: 0.5683 MB / 1.535 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.876, allocations: 4 kB / 1.535 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/2.877, allocations: 48.97 kB / 1.536 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/2.877, allocations: 83.89 kB / 1.536 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/2.879, allocations: 1.635 MB / 1.537 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/2.88, allocations: 83.72 kB / 1.537 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/2.88, allocations: 23.98 kB / 1.537 GB, free: 218.7 MB / 0.8855 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 () * Number of clocked 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.0006318/2.881, allocations: 291.6 kB / 1.538 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/2.882, allocations: 55.34 kB / 1.538 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/2.885, allocations: 0.6916 MB / 1.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/2.885, allocations: 4 kB / 1.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/2.885, allocations: 0 / 1.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/2.887, allocations: 0.8209 MB / 1.539 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/2.891, allocations: 1.319 MB / 1.54 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/2.891, allocations: 4 kB / 1.54 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/2.892, allocations: 67.98 kB / 1.54 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/2.892, allocations: 44.83 kB / 1.541 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/2.892, allocations: 12 kB / 1.541 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003854/2.892, allocations: 0.5873 MB / 1.541 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.892, allocations: 3.938 kB / 1.541 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/2.896, allocations: 1.043 MB / 1.542 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/2.896, allocations: 188.3 kB / 1.542 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/2.896, allocations: 8 kB / 1.542 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/2.897, allocations: 67.95 kB / 1.542 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/2.898, allocations: 23.97 kB / 1.542 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/2.898, allocations: 19.98 kB / 1.542 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005823/2.898, allocations: 338.8 kB / 1.543 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/2.898, allocations: 0 / 1.543 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001878/2.9, allocations: 383.4 kB / 1.543 GB, free: 212.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001126/2.901, allocations: 440.7 kB / 1.544 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003318/2.905, allocations: 0.9864 MB / 1.545 GB, free: 211 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.905, allocations: 0 / 1.545 GB, free: 211 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/2.906, allocations: 319.5 kB / 1.545 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/2.908, allocations: 230 kB / 1.545 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/2.911, allocations: 1.332 MB / 1.546 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/2.912, allocations: 0.8979 MB / 1.547 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009399/2.913, allocations: 128.2 kB / 1.547 GB, free: 208 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/2.913, allocations: 55.41 kB / 1.547 GB, free: 208 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/2.913, allocations: 0 / 1.547 GB, free: 208 MB / 0.8855 GB Notification: Performance of Templates: time 0.03147/2.945, allocations: 11.9 MB / 1.559 GB, free: 196.2 MB / 0.8855 GB