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.672/1.672, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.0009767/0.0009768, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.678/1.678, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0008527/0.0008529, allocations: 86.36 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005505, allocations: 14.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2553, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.09, allocations: 2.314 GB / 3.295 GB, free: 350.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/5.09, allocations: 87.41 kB / 3.295 GB, free: 350.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.538/6.628, allocations: 0.6479 GB / 3.943 GB, free: 81.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/6.628, allocations: 3.938 kB / 3.943 GB, free: 81.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.988e-05/6.628, allocations: 43.92 kB / 3.943 GB, free: 81.34 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.003574/6.632, allocations: 1.553 MB / 3.945 GB, free: 79.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/6.632, allocations: 8.031 kB / 3.945 GB, free: 79.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/6.634, allocations: 0.5419 MB / 3.945 GB, free: 79.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/6.655, allocations: 12.33 MB / 3.957 GB, free: 66.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/6.656, allocations: 321.8 kB / 3.957 GB, free: 66.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/6.656, allocations: 72.12 kB / 3.957 GB, free: 66.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/6.658, allocations: 1.178 MB / 3.959 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/6.658, allocations: 0 / 3.959 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/6.658, allocations: 32 kB / 3.959 GB, free: 65.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/6.658, allocations: 29.31 kB / 3.959 GB, free: 65.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/6.661, allocations: 1.239 MB / 3.96 GB, free: 63.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/6.667, allocations: 3.268 MB / 3.963 GB, free: 60.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/6.668, allocations: 0.7122 MB / 3.964 GB, free: 59.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/6.669, allocations: 449.4 kB / 3.964 GB, free: 59.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/6.67, allocations: 1.021 MB / 3.965 GB, free: 58.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/6.67, allocations: 0.5502 MB / 3.966 GB, free: 57.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/6.67, allocations: 0 / 3.966 GB, free: 57.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002636/6.673, allocations: 1.283 MB / 3.967 GB, free: 56.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/6.673, allocations: 170.5 kB / 3.967 GB, free: 55.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/6.675, allocations: 1.207 MB / 3.968 GB, free: 54.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/6.675, allocations: 41.7 kB / 3.968 GB, free: 54.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/6.675, allocations: 437.3 kB / 3.969 GB, free: 54.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/6.675, allocations: 197.2 kB / 3.969 GB, free: 54.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/6.675, allocations: 15.94 kB / 3.969 GB, free: 54.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/6.675, allocations: 326 kB / 3.969 GB, free: 53.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/6.677, allocations: 0.4931 MB / 3.97 GB, free: 53.22 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/6.678, allocations: 0.6906 MB / 3.97 GB, free: 52.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/6.68, allocations: 1.02 MB / 3.971 GB, free: 51.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/6.68, allocations: 0 / 3.971 GB, free: 51.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00288/6.683, allocations: 1.334 MB / 3.973 GB, free: 50.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/6.683, allocations: 35.27 kB / 3.973 GB, free: 49.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/6.683, allocations: 4 kB / 3.973 GB, free: 49.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/6.683, allocations: 11.94 kB / 3.973 GB, free: 49.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/6.684, allocations: 223.7 kB / 3.973 GB, free: 49.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.678e-05/6.684, allocations: 7.984 kB / 3.973 GB, free: 49.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/6.685, allocations: 306.9 kB / 3.973 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/6.685, allocations: 55.95 kB / 3.973 GB, free: 49.39 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 (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.0004832/6.686, allocations: 323.3 kB / 3.974 GB, free: 49.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/6.686, allocations: 118.5 kB / 3.974 GB, free: 48.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/6.688, allocations: 1.046 MB / 3.975 GB, free: 47.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/6.688, allocations: 12.5 kB / 3.975 GB, free: 47.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/6.688, allocations: 4 kB / 3.975 GB, free: 47.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/6.688, allocations: 4 kB / 3.975 GB, free: 47.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/6.692, allocations: 3.409 MB / 3.978 GB, free: 44.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/6.692, allocations: 8 kB / 3.978 GB, free: 44.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/6.693, allocations: 132 kB / 3.978 GB, free: 44.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/6.693, allocations: 11.94 kB / 3.978 GB, free: 44.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/6.693, allocations: 31.92 kB / 3.978 GB, free: 44.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/6.693, allocations: 19.92 kB / 3.978 GB, free: 44.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/6.693, allocations: 8 kB / 3.978 GB, free: 44.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/6.695, allocations: 1.408 MB / 3.98 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/6.695, allocations: 339.4 kB / 3.98 GB, free: 42.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/6.695, allocations: 31.92 kB / 3.98 GB, free: 42.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/6.696, allocations: 131.8 kB / 3.98 GB, free: 42.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/6.696, allocations: 67.61 kB / 3.98 GB, free: 41.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/6.697, allocations: 39.97 kB / 3.98 GB, free: 41.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001343/6.698, allocations: 0.8792 MB / 3.981 GB, free: 41.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.698, allocations: 4 kB / 3.981 GB, free: 41.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00149/6.699, allocations: 451.7 kB / 3.982 GB, free: 40.61 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.00198/6.701, allocations: 1.609 MB / 3.983 GB, free: 38.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002119/6.703, allocations: 1.072 MB / 3.984 GB, free: 37.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/6.704, allocations: 3.938 kB / 3.984 GB, free: 37.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/6.704, allocations: 0.5363 MB / 3.985 GB, free: 37.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/6.708, allocations: 0.5448 MB / 3.985 GB, free: 36.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/6.711, allocations: 2.305 MB / 3.988 GB, free: 34.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/6.711, allocations: 1.07 MB / 3.989 GB, free: 33.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001143/6.712, allocations: 292.1 kB / 3.989 GB, free: 32.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/6.713, allocations: 83.41 kB / 3.989 GB, free: 32.86 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/6.713, allocations: 4 kB / 3.989 GB, free: 32.86 MB / 0.948 GB Notification: Performance of Templates: time 0.4828/7.196, allocations: 37.63 MB / 4.026 GB, free: 181.3 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)