Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001082/0.001081, allocations: 183.4 kB / 371.8 MB, free: 10.29 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.616/1.616, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008651/0.000865, allocations: 96.84 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 16.62 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.76/4.99, allocations: 2.314 GB / 3.294 GB, free: 352.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/4.991, allocations: 86.86 kB / 3.294 GB, free: 352.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.8/6.791, allocations: 0.6528 GB / 3.946 GB, free: 81.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/6.791, allocations: 0 / 3.946 GB, free: 81.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001488/6.791, allocations: 43.91 kB / 3.946 GB, free: 81.75 MB / 0.948 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.005056/6.796, allocations: 1.564 MB / 3.948 GB, free: 80.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/6.796, allocations: 8.031 kB / 3.948 GB, free: 80.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/6.799, allocations: 0.541 MB / 3.949 GB, free: 79.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/6.826, allocations: 13.15 MB / 3.961 GB, free: 66.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/6.827, allocations: 313.2 kB / 3.962 GB, free: 65.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/6.828, allocations: 80 kB / 3.962 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/6.831, allocations: 1.159 MB / 3.963 GB, free: 64.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/6.831, allocations: 7.938 kB / 3.963 GB, free: 64.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/6.831, allocations: 28 kB / 3.963 GB, free: 64.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/6.831, allocations: 33.3 kB / 3.963 GB, free: 64.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/6.834, allocations: 1.242 MB / 3.964 GB, free: 63.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/6.84, allocations: 3.237 MB / 3.967 GB, free: 60.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/6.842, allocations: 0.7215 MB / 3.968 GB, free: 59.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007198/6.842, allocations: 1.029 MB / 3.969 GB, free: 58.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/6.843, allocations: 0.5346 MB / 3.97 GB, free: 57.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.256e-06/6.843, allocations: 0 / 3.97 GB, free: 57.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.0028/6.846, allocations: 1.355 MB / 3.971 GB, free: 56.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/6.846, allocations: 170.6 kB / 3.971 GB, free: 55.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/6.848, allocations: 1.073 MB / 3.972 GB, free: 54.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/6.848, allocations: 41.7 kB / 3.972 GB, free: 54.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/6.848, allocations: 437.8 kB / 3.973 GB, free: 54.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/6.848, allocations: 197.1 kB / 3.973 GB, free: 54.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/6.848, allocations: 16 kB / 3.973 GB, free: 54.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/6.848, allocations: 326 kB / 3.973 GB, free: 53.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/6.849, allocations: 496.8 kB / 3.974 GB, free: 53.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/6.851, allocations: 0.6849 MB / 3.974 GB, free: 52.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/6.852, allocations: 0.5565 MB / 3.975 GB, free: 52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/6.852, allocations: 0 / 3.975 GB, free: 52 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002938/6.855, allocations: 1.311 MB / 3.976 GB, free: 50.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/6.855, allocations: 37.69 kB / 3.976 GB, free: 50.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/6.855, allocations: 4 kB / 3.976 GB, free: 50.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/6.855, allocations: 8 kB / 3.976 GB, free: 50.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/6.856, allocations: 215.9 kB / 3.976 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/6.856, allocations: 4 kB / 3.976 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/6.858, allocations: 318.8 kB / 3.977 GB, free: 50.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/6.858, allocations: 43.97 kB / 3.977 GB, free: 50.05 MB / 0.948 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 (69): * Single equations (assignments): 68 * 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.0005702/6.858, allocations: 327.5 kB / 3.977 GB, free: 49.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/6.859, allocations: 118.5 kB / 3.977 GB, free: 49.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/6.861, allocations: 1.038 MB / 3.978 GB, free: 48.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/6.861, allocations: 12 kB / 3.978 GB, free: 48.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/6.861, allocations: 0.5156 kB / 3.978 GB, free: 48.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/6.861, allocations: 3.984 kB / 3.978 GB, free: 48.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/6.865, allocations: 3.359 MB / 3.981 GB, free: 45.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/6.865, allocations: 8 kB / 3.981 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/6.865, allocations: 132.1 kB / 3.981 GB, free: 44.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/6.865, allocations: 12 kB / 3.981 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/6.866, allocations: 27.98 kB / 3.982 GB, free: 44.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/6.866, allocations: 19.92 kB / 3.982 GB, free: 44.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/6.866, allocations: 11.94 kB / 3.982 GB, free: 44.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/6.867, allocations: 1.833 MB / 3.983 GB, free: 42.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/6.868, allocations: 335.3 kB / 3.984 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/6.868, allocations: 23.98 kB / 3.984 GB, free: 42.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/6.869, allocations: 131.9 kB / 3.984 GB, free: 42.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/6.869, allocations: 63.73 kB / 3.984 GB, free: 42.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/6.87, allocations: 47.97 kB / 3.984 GB, free: 42.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001293/6.871, allocations: 0.8753 MB / 3.985 GB, free: 41.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.871, allocations: 0 / 3.985 GB, free: 41.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001668/6.872, allocations: 435.7 kB / 3.985 GB, free: 40.77 MB / 0.948 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.002002/6.875, allocations: 1.592 MB / 3.987 GB, free: 39.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002201/6.877, allocations: 1.068 MB / 3.988 GB, free: 38.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/6.877, allocations: 4 kB / 3.988 GB, free: 38.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007909/6.878, allocations: 0.5246 MB / 3.988 GB, free: 37.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/6.88, allocations: 0.5382 MB / 3.989 GB, free: 36.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/6.883, allocations: 2.286 MB / 3.991 GB, free: 34.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/6.884, allocations: 1.093 MB / 3.992 GB, free: 33.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00112/6.885, allocations: 276.1 kB / 3.992 GB, free: 33.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/6.885, allocations: 83.41 kB / 3.992 GB, free: 33.05 MB / 0.948 GB Notification: Performance of SimCode: time 1.001e-06/6.885, allocations: 3.938 kB / 3.992 GB, free: 33.05 MB / 0.948 GB Notification: Performance of Templates: time 0.5397/7.425, allocations: 37 MB / 4.029 GB, free: 181.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)