Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.482/2.482, allocations: 287.5 MB / 303.2 MB, free: 8.242 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.00134/0.00134, allocations: 185.5 kB / 371.8 MB, free: 10.83 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.976/1.976, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009299, allocations: 92.67 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 16.73 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9793 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.463, allocations: 389.1 MB / 1.359 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.464, allocations: 90.58 kB / 1.359 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.466/2.929, allocations: 253.2 MB / 1.607 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/2.929, allocations: 3.938 kB / 1.607 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.226e-05/2.929, allocations: 19.98 kB / 1.607 GB, free: 181.9 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.002479/2.932, allocations: 1.016 MB / 1.608 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/2.932, allocations: 12.03 kB / 1.608 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/2.933, allocations: 180 kB / 1.608 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03176/2.965, allocations: 10.95 MB / 1.619 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005654/2.966, allocations: 101.5 kB / 1.619 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/2.966, allocations: 36.36 kB / 1.619 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/2.967, allocations: 0.505 MB / 1.619 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/2.967, allocations: 11.92 kB / 1.619 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/2.967, allocations: 16 kB / 1.619 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/2.967, allocations: 8 kB / 1.619 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/2.969, allocations: 430.6 kB / 1.62 GB, free: 168.4 MB / 0.9323 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.00409/2.973, allocations: 2.26 MB / 1.622 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/2.975, allocations: 382.9 kB / 1.622 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007953/2.976, allocations: 234.2 kB / 1.622 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/2.976, allocations: 344.7 kB / 1.623 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009407/2.977, allocations: 319.5 kB / 1.623 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 3.387e-06/2.977, allocations: 4 kB / 1.623 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.003654/2.981, allocations: 0.895 MB / 1.624 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/2.981, allocations: 92.98 kB / 1.624 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/2.981, allocations: 490.9 kB / 1.624 GB, free: 163 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.811e-05/2.982, allocations: 29.7 kB / 1.624 GB, free: 163 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/2.982, allocations: 284.4 kB / 1.625 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/2.982, allocations: 106.5 kB / 1.625 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/2.982, allocations: 4 kB / 1.625 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001025/2.982, allocations: 366.8 kB / 1.625 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/2.983, allocations: 180.6 kB / 1.625 GB, free: 162 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/2.984, allocations: 290.5 kB / 1.626 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/2.985, allocations: 485 kB / 1.626 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.985, allocations: 0 / 1.626 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00233/2.987, allocations: 0.6473 MB / 1.627 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.104e-05/2.988, allocations: 164 kB / 1.627 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/2.988, allocations: 0 / 1.627 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/2.988, allocations: 76.72 kB / 1.627 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/2.989, allocations: 83.89 kB / 1.627 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005009/2.989, allocations: 0.5952 MB / 1.628 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/2.99, allocations: 91.72 kB / 1.628 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/2.99, allocations: 12 kB / 1.628 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/2.99, allocations: 4 kB / 1.628 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00202/2.993, allocations: 0.5761 MB / 1.628 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/2.993, allocations: 4.094 kB / 1.628 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/2.993, allocations: 56.75 kB / 1.628 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/2.993, allocations: 84.05 kB / 1.628 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/2.995, allocations: 1.634 MB / 1.63 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/2.996, allocations: 83.72 kB / 1.63 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/2.996, allocations: 19.98 kB / 1.63 GB, free: 156.8 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 () * 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.0004709/2.997, allocations: 298.7 kB / 1.63 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/2.997, allocations: 55.34 kB / 1.63 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/2.999, allocations: 0.6571 MB / 1.631 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/2.999, allocations: 11.94 kB / 1.631 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/2.999, allocations: 0 / 1.631 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00199/3.001, allocations: 0.8367 MB / 1.632 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/3.005, allocations: 1.327 MB / 1.633 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/3.005, allocations: 4 kB / 1.633 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/3.006, allocations: 71.97 kB / 1.633 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/3.006, allocations: 44.84 kB / 1.633 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/3.006, allocations: 15.98 kB / 1.633 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000365/3.006, allocations: 0.5718 MB / 1.634 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/3.006, allocations: 0 / 1.634 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/3.009, allocations: 1.017 MB / 1.635 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/3.01, allocations: 184.3 kB / 1.635 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/3.01, allocations: 8 kB / 1.635 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/3.011, allocations: 67.91 kB / 1.635 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/3.011, allocations: 23.91 kB / 1.635 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/3.011, allocations: 27.98 kB / 1.635 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005418/3.012, allocations: 342.8 kB / 1.636 GB, free: 151 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.91e-07/3.012, allocations: 0 / 1.636 GB, free: 151 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001783/3.014, allocations: 379.4 kB / 1.636 GB, free: 150.7 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) * 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.00109/3.015, allocations: 427.3 kB / 1.636 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003201/3.018, allocations: 0.9991 MB / 1.637 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/3.018, allocations: 8.062 kB / 1.637 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/3.019, allocations: 324.3 kB / 1.638 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/3.022, allocations: 240.9 kB / 1.638 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/3.025, allocations: 1.329 MB / 1.639 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/3.026, allocations: 0.8823 MB / 1.64 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009612/3.026, allocations: 124.3 kB / 1.64 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/3.027, allocations: 47.42 kB / 1.64 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.244e-06/3.027, allocations: 3.938 kB / 1.64 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.03122/3.058, allocations: 12.03 MB / 1.652 GB, free: 134.2 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)