Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 252 MB / 267.9 MB, free: 10.89 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.0009627/0.0009629, allocations: 181 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 0.5785 GB, free: 20.45 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.0007344/0.0007344, allocations: 85.3 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 14.88 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.004/4.151, allocations: 2.431 GB / 3.332 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/4.151, allocations: 87.95 kB / 3.332 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.745/5.896, allocations: 0.6289 GB / 3.961 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/5.896, allocations: 7.984 kB / 3.961 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001031/5.896, allocations: 42.84 kB / 3.961 GB, free: 180.7 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003555/5.9, allocations: 1.561 MB / 3.963 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/5.9, allocations: 7.281 kB / 3.963 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/5.902, allocations: 0.5326 MB / 3.963 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/5.922, allocations: 11.99 MB / 3.975 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/5.923, allocations: 317.8 kB / 3.975 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/5.923, allocations: 80.06 kB / 3.976 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/5.926, allocations: 1.167 MB / 3.977 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/5.926, allocations: 3.891 kB / 3.977 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/5.926, allocations: 31.98 kB / 3.977 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/5.926, allocations: 33.25 kB / 3.977 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/5.929, allocations: 1.239 MB / 3.978 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00559/5.935, allocations: 3.371 MB / 3.981 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/5.936, allocations: 0.7139 MB / 3.982 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/5.937, allocations: 438.2 kB / 3.982 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/5.937, allocations: 1.033 MB / 3.983 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008101/5.938, allocations: 0.5269 MB / 3.984 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/5.938, allocations: 11.56 kB / 3.984 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002526/5.941, allocations: 1.287 MB / 3.985 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/5.941, allocations: 162.6 kB / 3.985 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/5.943, allocations: 1.211 MB / 3.987 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/5.943, allocations: 41.7 kB / 3.987 GB, free: 156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/5.943, allocations: 441.3 kB / 3.987 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/5.943, allocations: 193.1 kB / 3.987 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/5.943, allocations: 20 kB / 3.987 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/5.943, allocations: 333.9 kB / 3.988 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/5.944, allocations: 493 kB / 3.988 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/5.945, allocations: 0.6952 MB / 3.989 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/5.947, allocations: 1.012 MB / 3.99 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/5.947, allocations: 0 / 3.99 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002602/5.95, allocations: 1.342 MB / 3.991 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/5.95, allocations: 41.69 kB / 3.991 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/5.95, allocations: 4 kB / 3.991 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/5.95, allocations: 4 kB / 3.991 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/5.951, allocations: 219.9 kB / 3.991 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/5.951, allocations: 12 kB / 3.991 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/5.952, allocations: 310.8 kB / 3.992 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/5.952, allocations: 51.91 kB / 3.992 GB, free: 150.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004127/5.953, allocations: 327.9 kB / 3.992 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/5.953, allocations: 118.5 kB / 3.992 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/5.955, allocations: 1.051 MB / 3.993 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/5.955, allocations: 8 kB / 3.993 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/5.955, allocations: 0 / 3.993 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/5.955, allocations: 3.984 kB / 3.993 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/5.958, allocations: 3.414 MB / 3.996 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/5.958, allocations: 8 kB / 3.996 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/5.959, allocations: 132.2 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/5.959, allocations: 12 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/5.959, allocations: 31.86 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/5.959, allocations: 15.94 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/5.959, allocations: 15.94 kB / 3.997 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/5.961, allocations: 1.413 MB / 3.998 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/5.961, allocations: 334.9 kB / 3.998 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/5.961, allocations: 27.92 kB / 3.998 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/5.962, allocations: 131.9 kB / 3.998 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/5.962, allocations: 59.77 kB / 3.998 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/5.962, allocations: 47.97 kB / 3.999 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001186/5.964, allocations: 0.8753 MB / 3.999 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/5.964, allocations: 0 / 3.999 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001288/5.965, allocations: 447.6 kB / 4 GB, free: 142 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/5.967, allocations: 1.617 MB / 4.001 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001989/5.969, allocations: 1.072 MB / 4.002 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.969, allocations: 0 / 4.002 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/5.97, allocations: 0.5342 MB / 4.003 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/5.973, allocations: 0.5383 MB / 4.003 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/5.976, allocations: 2.279 MB / 4.006 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/5.977, allocations: 1.077 MB / 4.007 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001235/5.978, allocations: 291.7 kB / 4.007 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/5.978, allocations: 83.41 kB / 4.007 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/5.978, allocations: 0 / 4.007 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04179/6.02, allocations: 37.64 MB / 4.044 GB, free: 96.89 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)