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.704/1.704, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001305/0.001305, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.922/1.922, allocations: 205.2 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 94.27 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.959e-05, allocations: 4 kB / 0.8517 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8342, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.809/6.643, allocations: 2.313 GB / 3.278 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.644, allocations: 89.86 kB / 3.278 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.512/9.156, allocations: 0.645 GB / 3.923 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.346e-06/9.156, allocations: 2.938 kB / 3.923 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001128/9.156, allocations: 39.12 kB / 3.923 GB, free: 180.5 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003862/9.16, allocations: 1.406 MB / 3.924 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/9.16, allocations: 20.12 kB / 3.924 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/9.163, allocations: 0.5307 MB / 3.925 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02593/9.189, allocations: 13.03 MB / 3.938 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/9.19, allocations: 291.6 kB / 3.938 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/9.19, allocations: 49.95 kB / 3.938 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001829/9.192, allocations: 0.7508 MB / 3.939 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/9.194, allocations: 0.8794 MB / 3.94 GB, free: 170 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/9.194, allocations: 3.938 kB / 3.94 GB, free: 170 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/9.194, allocations: 0 / 3.94 GB, free: 170 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/9.194, allocations: 37.31 kB / 3.94 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005672/9.2, allocations: 3.112 MB / 3.943 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/9.2, allocations: 0.5768 MB / 3.943 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/9.201, allocations: 354.2 kB / 3.943 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009117/9.202, allocations: 1.033 MB / 3.945 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/9.202, allocations: 477.8 kB / 3.945 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=58): time 5.21e-06/9.202, allocations: 0 / 3.945 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58): time 0.001958/9.204, allocations: 0.8026 MB / 3.946 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/9.205, allocations: 148.5 kB / 3.946 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/9.205, allocations: 0.6453 MB / 3.947 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/9.205, allocations: 29.7 kB / 3.947 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/9.206, allocations: 468.1 kB / 3.947 GB, free: 162 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/9.206, allocations: 185.2 kB / 3.947 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/9.206, allocations: 0 / 3.947 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/9.206, allocations: 330 kB / 3.947 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/9.206, allocations: 313.2 kB / 3.948 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/9.207, allocations: 0.5115 MB / 3.948 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/9.208, allocations: 409.7 kB / 3.949 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/9.208, allocations: 7.75 kB / 3.949 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001524/9.209, allocations: 0.9498 MB / 3.95 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/9.209, allocations: 38.31 kB / 3.95 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/9.209, allocations: 4 kB / 3.95 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/9.209, allocations: 4 kB / 3.95 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/9.21, allocations: 220.1 kB / 3.95 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/9.21, allocations: 15.92 kB / 3.95 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/9.212, allocations: 267.3 kB / 3.95 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/9.212, allocations: 51.95 kB / 3.95 GB, free: 158.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * 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.0001932/9.212, allocations: 162.5 kB / 3.95 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/9.212, allocations: 90.88 kB / 3.95 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/9.214, allocations: 0.8657 MB / 3.951 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/9.214, allocations: 8 kB / 3.951 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/9.214, allocations: 0 / 3.951 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/9.214, allocations: 7.984 kB / 3.951 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/9.218, allocations: 3.03 MB / 3.954 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/9.218, allocations: 8 kB / 3.954 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/9.218, allocations: 140.4 kB / 3.954 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/9.218, allocations: 11.95 kB / 3.954 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/9.218, allocations: 23.73 kB / 3.954 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/9.218, allocations: 15.98 kB / 3.954 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/9.218, allocations: 15.83 kB / 3.954 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/9.22, allocations: 1.599 MB / 3.956 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/9.221, allocations: 307.6 kB / 3.956 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/9.221, allocations: 19.98 kB / 3.956 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/9.222, allocations: 123.9 kB / 3.956 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/9.222, allocations: 63.73 kB / 3.956 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/9.222, allocations: 43.95 kB / 3.957 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005863/9.223, allocations: 0.507 MB / 3.957 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/9.223, allocations: 0 / 3.957 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001655/9.224, allocations: 403.4 kB / 3.957 GB, free: 150.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.002741/9.227, allocations: 1.746 MB / 3.959 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001313/9.228, allocations: 0.8171 MB / 3.96 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/9.228, allocations: 0 / 3.96 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004706/9.229, allocations: 473.6 kB / 3.96 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/9.231, allocations: 353.4 kB / 3.961 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/9.234, allocations: 1.496 MB / 3.962 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/9.234, allocations: 1.095 MB / 3.963 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001043/9.235, allocations: 252.2 kB / 3.963 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/9.235, allocations: 83.39 kB / 3.964 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.312e-06/9.235, allocations: 0 / 3.964 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.0321/9.267, allocations: 23.23 MB / 3.986 GB, free: 121.4 MB / 0.9323 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)