Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.5 MB / 303.2 MB, free: 8.23 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.001253/0.001253, allocations: 180.9 kB / 371.8 MB, free: 10.77 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.991/1.991, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009237/0.0009233, allocations: 84.41 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 14.97 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.343/7.554, allocations: 2.314 GB / 3.293 GB, free: 285.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/7.554, allocations: 93.39 kB / 3.293 GB, free: 285.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.717/10.27, allocations: 0.6478 GB / 3.941 GB, free: 34.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/10.27, allocations: 0 / 3.941 GB, free: 34.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001309/10.27, allocations: 31.98 kB / 3.941 GB, free: 34.39 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.0062/10.28, allocations: 1.567 MB / 3.943 GB, free: 32.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/10.28, allocations: 12.03 kB / 3.943 GB, free: 32.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/10.28, allocations: 0.5303 MB / 3.943 GB, free: 32.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03638/10.32, allocations: 12.33 MB / 3.955 GB, free: 19.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002176/10.32, allocations: 317.8 kB / 3.956 GB, free: 19.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/10.32, allocations: 80.06 kB / 3.956 GB, free: 19.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/10.33, allocations: 1.171 MB / 3.957 GB, free: 18.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/10.33, allocations: 0 / 3.957 GB, free: 18.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/10.33, allocations: 28 kB / 3.957 GB, free: 18.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.612e-05/10.33, allocations: 37.23 kB / 3.957 GB, free: 18.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/10.33, allocations: 1.227 MB / 3.958 GB, free: 16.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009637/10.34, allocations: 3.256 MB / 3.961 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/10.34, allocations: 0.7088 MB / 3.962 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/10.35, allocations: 433 kB / 3.962 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/10.35, allocations: 1.029 MB / 3.963 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/10.35, allocations: 0.5386 MB / 3.964 GB, free: 10.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.146e-06/10.35, allocations: 0 / 3.964 GB, free: 10.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.004889/10.35, allocations: 1.272 MB / 3.965 GB, free: 9.266 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/10.35, allocations: 170.6 kB / 3.965 GB, free: 9.062 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/10.36, allocations: 1.207 MB / 3.967 GB, free: 7.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/10.36, allocations: 41.7 kB / 3.967 GB, free: 7.793 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/10.36, allocations: 437.4 kB / 3.967 GB, free: 7.363 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/10.36, allocations: 201.1 kB / 3.967 GB, free: 7.164 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/10.36, allocations: 12 kB / 3.967 GB, free: 7.152 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/10.36, allocations: 326 kB / 3.968 GB, free: 6.828 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/10.36, allocations: 492.9 kB / 3.968 GB, free: 6.348 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/10.36, allocations: 0.6864 MB / 3.969 GB, free: 5.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/10.37, allocations: 0.9963 MB / 3.97 GB, free: 4.539 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/10.37, allocations: 0 / 3.97 GB, free: 4.539 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005572/10.37, allocations: 1.314 MB / 3.971 GB, free: 3.203 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/10.37, allocations: 37.69 kB / 3.971 GB, free: 3.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/10.37, allocations: 4 kB / 3.971 GB, free: 3.156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/10.37, allocations: 8.156 kB / 3.971 GB, free: 3.148 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/10.37, allocations: 219.7 kB / 3.971 GB, free: 2.934 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/10.37, allocations: 11.94 kB / 3.971 GB, free: 2.922 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/10.38, allocations: 310.8 kB / 3.972 GB, free: 2.617 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/10.38, allocations: 43.97 kB / 3.972 GB, free: 2.574 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.0008081/10.38, allocations: 333.7 kB / 3.972 GB, free: 2.234 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/10.38, allocations: 118.5 kB / 3.972 GB, free: 2.117 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/10.38, allocations: 1.042 MB / 3.973 GB, free: 1.059 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/10.38, allocations: 4 kB / 3.973 GB, free: 1.055 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/10.38, allocations: 4 kB / 3.973 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/10.38, allocations: 3.984 kB / 3.973 GB, free: 1.047 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.72/11.1, allocations: 3.348 MB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/11.1, allocations: 7.219 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/11.1, allocations: 129.7 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/11.1, allocations: 10.34 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/11.1, allocations: 32.67 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-05/11.1, allocations: 16.48 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/11.1, allocations: 12.16 kB / 3.976 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/11.11, allocations: 1.408 MB / 3.978 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/11.11, allocations: 337.9 kB / 3.978 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/11.11, allocations: 26.59 kB / 3.978 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/11.11, allocations: 128.2 kB / 3.978 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/11.11, allocations: 65.52 kB / 3.978 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/11.11, allocations: 49.62 kB / 3.978 GB, free: 170.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003078/11.12, allocations: 0.8716 MB / 3.979 GB, free: 170.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.71e-07/11.12, allocations: 0 / 3.979 GB, free: 170.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002744/11.12, allocations: 436.7 kB / 3.98 GB, free: 170.8 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.003682/11.12, allocations: 1.586 MB / 3.981 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004962/11.13, allocations: 1.06 MB / 3.982 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/11.13, allocations: 3.781 kB / 3.982 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/11.13, allocations: 0.5256 MB / 3.983 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007347/11.14, allocations: 0.5381 MB / 3.983 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/11.14, allocations: 2.307 MB / 3.986 GB, free: 169.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/11.14, allocations: 1.072 MB / 3.987 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002465/11.15, allocations: 285.7 kB / 3.987 GB, free: 168.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/11.15, allocations: 86.22 kB / 3.987 GB, free: 168.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/11.15, allocations: 0 / 3.987 GB, free: 168.5 MB / 0.948 GB Notification: Performance of Templates: time 0.09408/11.24, allocations: 37.07 MB / 4.023 GB, free: 167.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)