Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 284.8 MB / 297.3 MB, free: 6.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001466, allocations: 180.9 kB / 365.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 102 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.743e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8012, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/2.237, allocations: 388.9 MB / 1.35 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/2.237, allocations: 87.05 kB / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.8644/3.101, allocations: 253.8 MB / 1.598 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.933e-06/3.102, allocations: 4 kB / 1.598 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.157e-05/3.102, allocations: 23.98 kB / 1.598 GB, free: 10.29 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.002558/3.104, allocations: 0.9131 MB / 1.599 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/3.104, allocations: 8.031 kB / 1.599 GB, free: 9.312 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/3.106, allocations: 187 kB / 1.599 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.754/3.86, allocations: 11.75 MB / 1.61 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006234/3.86, allocations: 94.81 kB / 1.61 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/3.861, allocations: 39.95 kB / 1.61 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/3.862, allocations: 458.3 kB / 1.611 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/3.862, allocations: 4.062 kB / 1.611 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/3.862, allocations: 19.72 kB / 1.611 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/3.862, allocations: 10.33 kB / 1.611 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/3.863, allocations: 321 kB / 1.611 GB, free: 241.8 MB / 0.9323 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.005072/3.868, allocations: 2.266 MB / 1.613 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/3.869, allocations: 273.3 kB / 1.614 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/3.87, allocations: 180.3 kB / 1.614 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/3.87, allocations: 343.1 kB / 1.614 GB, free: 240 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/3.871, allocations: 263.8 kB / 1.614 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.737e-06/3.871, allocations: 0 / 1.614 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001618/3.872, allocations: 491.4 kB / 1.615 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/3.872, allocations: 84.92 kB / 1.615 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/3.873, allocations: 426.4 kB / 1.615 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/3.873, allocations: 32.83 kB / 1.615 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/3.874, allocations: 279.8 kB / 1.616 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/3.874, allocations: 107.6 kB / 1.616 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/3.874, allocations: 8.75 kB / 1.616 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001183/3.874, allocations: 365.8 kB / 1.616 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/3.874, allocations: 128.9 kB / 1.616 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/3.875, allocations: 224.6 kB / 1.617 GB, free: 239 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/3.875, allocations: 173.4 kB / 1.617 GB, free: 239 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/3.875, allocations: 1.188 kB / 1.617 GB, free: 239 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001559/3.877, allocations: 0.5382 MB / 1.617 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/3.877, allocations: 0.6455 MB / 1.618 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/3.877, allocations: 3.062 kB / 1.618 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/3.877, allocations: 54.2 kB / 1.618 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/3.878, allocations: 84.95 kB / 1.618 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005408/3.879, allocations: 0.5996 MB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/3.88, allocations: 81.22 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/3.88, allocations: 23.12 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/3.88, allocations: 4.25 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/3.881, allocations: 482.6 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/3.881, allocations: 2.688 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/3.882, allocations: 50.89 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/3.882, allocations: 86.67 kB / 1.619 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/3.884, allocations: 1.618 MB / 1.621 GB, free: 236.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/3.886, allocations: 77.31 kB / 1.621 GB, free: 236.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/3.886, allocations: 25.33 kB / 1.621 GB, free: 236.2 MB / 0.9323 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.0002564/3.886, allocations: 168.4 kB / 1.621 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/3.886, allocations: 56.59 kB / 1.621 GB, free: 236 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/3.888, allocations: 0.5729 MB / 1.622 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/3.888, allocations: 6.375 kB / 1.622 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/3.888, allocations: 0 / 1.622 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/3.889, allocations: 0.7169 MB / 1.622 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/3.892, allocations: 1.231 MB / 1.624 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/3.892, allocations: 5.984 kB / 1.624 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/3.893, allocations: 72.11 kB / 1.624 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/3.893, allocations: 51.72 kB / 1.624 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/3.893, allocations: 14.09 kB / 1.624 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/3.894, allocations: 0.5685 MB / 1.624 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/3.894, allocations: 9.828 kB / 1.624 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/3.896, allocations: 0.881 MB / 1.625 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/3.896, allocations: 180 kB / 1.625 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/3.896, allocations: 12.67 kB / 1.625 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/3.898, allocations: 67.41 kB / 1.625 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/3.898, allocations: 28.62 kB / 1.625 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/3.898, allocations: 21.38 kB / 1.625 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000649/3.898, allocations: 341.4 kB / 1.626 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/3.898, allocations: 0 / 1.626 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001994/3.9, allocations: 379.8 kB / 1.626 GB, free: 234.1 MB / 0.9323 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.001224/3.902, allocations: 428.4 kB / 1.627 GB, free: 234 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002282/3.904, allocations: 0.8502 MB / 1.627 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/3.904, allocations: 1 kB / 1.627 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/3.905, allocations: 269.8 kB / 1.628 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/3.907, allocations: 238.9 kB / 1.628 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/3.91, allocations: 0.7795 MB / 1.629 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/3.91, allocations: 0.8923 MB / 1.63 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001259/3.911, allocations: 155.7 kB / 1.63 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/3.912, allocations: 42.34 kB / 1.63 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/3.912, allocations: 3.844 kB / 1.63 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.05024/3.962, allocations: 13.3 MB / 1.643 GB, free: 232.6 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)