Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.299/2.299, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.001439, allocations: 189.1 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.449/2.449, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008927, allocations: 93.28 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004815, allocations: 11.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.362, allocations: 381.5 MB / 1.272 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.362, allocations: 91.56 kB / 1.272 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.51/2.872, allocations: 246.2 MB / 1.513 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.476e-06/2.872, allocations: 0 / 1.513 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.92e-05/2.873, allocations: 19.94 kB / 1.513 GB, free: 215.7 MB / 0.8698 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.003083/2.876, allocations: 1.019 MB / 1.514 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/2.876, allocations: 8.031 kB / 1.514 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/2.877, allocations: 187.9 kB / 1.514 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03826/2.916, allocations: 10.58 MB / 1.524 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006881/2.916, allocations: 97.48 kB / 1.524 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/2.917, allocations: 40.38 kB / 1.524 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/2.919, allocations: 0.5089 MB / 1.525 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/2.919, allocations: 0 / 1.525 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/2.919, allocations: 16 kB / 1.525 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/2.919, allocations: 8 kB / 1.525 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/2.921, allocations: 426.6 kB / 1.525 GB, free: 202.6 MB / 0.8698 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.005066/2.926, allocations: 2.265 MB / 1.527 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/2.928, allocations: 390.8 kB / 1.528 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/2.929, allocations: 232.9 kB / 1.528 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/2.929, allocations: 348.5 kB / 1.528 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/2.931, allocations: 307.8 kB / 1.529 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 4.879e-06/2.931, allocations: 0 / 1.529 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00446/2.935, allocations: 0.9061 MB / 1.529 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/2.935, allocations: 90.45 kB / 1.53 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/2.936, allocations: 491 kB / 1.53 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/2.936, allocations: 33.7 kB / 1.53 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/2.937, allocations: 276.4 kB / 1.53 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/2.937, allocations: 110.4 kB / 1.53 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/2.937, allocations: 8 kB / 1.53 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001038/2.937, allocations: 366.8 kB / 1.531 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009067/2.938, allocations: 175.9 kB / 1.531 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/2.939, allocations: 283.6 kB / 1.531 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/2.94, allocations: 229.9 kB / 1.531 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/2.94, allocations: 4 kB / 1.531 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002863/2.943, allocations: 0.6435 MB / 1.532 GB, free: 195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/2.943, allocations: 169.9 kB / 1.532 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/2.943, allocations: 4 kB / 1.532 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/2.944, allocations: 72.8 kB / 1.532 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/2.944, allocations: 75.89 kB / 1.532 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006316/2.945, allocations: 0.6109 MB / 1.533 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/2.946, allocations: 83.59 kB / 1.533 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/2.946, allocations: 20 kB / 1.533 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/2.946, allocations: 0 / 1.533 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002497/2.949, allocations: 0.5722 MB / 1.534 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/2.949, allocations: 4 kB / 1.534 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/2.949, allocations: 52.97 kB / 1.534 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/2.95, allocations: 83.89 kB / 1.534 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/2.952, allocations: 1.627 MB / 1.535 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/2.953, allocations: 83.72 kB / 1.535 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/2.954, allocations: 27.92 kB / 1.535 GB, free: 191.3 MB / 0.8698 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.0005502/2.954, allocations: 291.1 kB / 1.536 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/2.954, allocations: 59.47 kB / 1.536 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/2.957, allocations: 0.6856 MB / 1.536 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/2.957, allocations: 0 / 1.536 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/2.957, allocations: 4 kB / 1.536 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/2.96, allocations: 0.8287 MB / 1.537 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/2.964, allocations: 1.319 MB / 1.539 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/2.964, allocations: 4 kB / 1.539 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/2.965, allocations: 68.05 kB / 1.539 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/2.965, allocations: 48.75 kB / 1.539 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/2.965, allocations: 12 kB / 1.539 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004631/2.966, allocations: 0.5796 MB / 1.539 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.966, allocations: 0 / 1.539 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/2.969, allocations: 1.019 MB / 1.54 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/2.97, allocations: 184.2 kB / 1.54 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/2.97, allocations: 8 kB / 1.54 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/2.971, allocations: 68 kB / 1.541 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.971, allocations: 23.91 kB / 1.541 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/2.971, allocations: 23.98 kB / 1.541 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000673/2.972, allocations: 338.8 kB / 1.541 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/2.972, allocations: 3.938 kB / 1.541 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002115/2.974, allocations: 379.4 kB / 1.541 GB, free: 185.2 MB / 0.8698 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.001308/2.976, allocations: 431.8 kB / 1.542 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003856/2.98, allocations: 0.987 MB / 1.543 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/2.98, allocations: 0 / 1.543 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/2.981, allocations: 332.1 kB / 1.543 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/2.984, allocations: 251.6 kB / 1.543 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/2.988, allocations: 1.33 MB / 1.544 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/2.988, allocations: 0.8745 MB / 1.545 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001094/2.989, allocations: 120.3 kB / 1.545 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/2.989, allocations: 47.42 kB / 1.546 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/2.989, allocations: 4 kB / 1.546 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03743/3.027, allocations: 11.94 MB / 1.557 GB, free: 168.9 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)