Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.231/2.231, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 178.7 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 97.39 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.802e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2732, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.246/8.519, allocations: 2.431 GB / 3.315 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/8.519, allocations: 81.95 kB / 3.315 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.553/12.07, allocations: 0.6261 GB / 3.941 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.959e-06/12.07, allocations: 3.938 kB / 3.941 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001705/12.07, allocations: 38.97 kB / 3.941 GB, free: 155.7 MB / 0.8698 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.006902/12.08, allocations: 1.41 MB / 3.943 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/12.08, allocations: 9.875 kB / 3.943 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/12.08, allocations: 0.5354 MB / 3.943 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04287/12.13, allocations: 12.69 MB / 3.956 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002173/12.13, allocations: 298.7 kB / 3.956 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/12.13, allocations: 48.78 kB / 3.956 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002208/12.13, allocations: 0.7517 MB / 3.957 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/12.13, allocations: 0.8781 MB / 3.958 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/12.13, allocations: 6.469 kB / 3.958 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/12.14, allocations: 0 / 3.958 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/12.14, allocations: 36.81 kB / 3.958 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/12.15, allocations: 3.209 MB / 3.961 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/12.15, allocations: 0.5805 MB / 3.961 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/12.15, allocations: 348.9 kB / 3.962 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/12.15, allocations: 1.034 MB / 3.963 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/12.15, allocations: 479.5 kB / 3.963 GB, free: 152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 3.767e-06/12.15, allocations: 0 / 3.963 GB, free: 152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.003116/12.15, allocations: 0.8005 MB / 3.964 GB, free: 152 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/12.15, allocations: 136.2 kB / 3.964 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/12.15, allocations: 0.6594 MB / 3.965 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/12.15, allocations: 25.7 kB / 3.965 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/12.15, allocations: 462.7 kB / 3.965 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/12.16, allocations: 184.8 kB / 3.965 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/12.16, allocations: 2.938 kB / 3.965 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/12.16, allocations: 335.3 kB / 3.966 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/12.16, allocations: 310 kB / 3.966 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/12.16, allocations: 0.5118 MB / 3.967 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/12.16, allocations: 406.7 kB / 3.967 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/12.16, allocations: 8.094 kB / 3.967 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002888/12.16, allocations: 0.9506 MB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/12.16, allocations: 39.36 kB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/12.16, allocations: 3.938 kB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/12.16, allocations: 7.75 kB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/12.16, allocations: 222.6 kB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/12.16, allocations: 15.02 kB / 3.968 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/12.17, allocations: 263.3 kB / 3.968 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/12.17, allocations: 46.91 kB / 3.968 GB, free: 150.7 MB / 0.8698 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.0003347/12.17, allocations: 164.8 kB / 3.969 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002243/12.17, allocations: 0.7728 MB / 3.969 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/12.17, allocations: 97.97 kB / 3.969 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/12.17, allocations: 0.8745 MB / 3.97 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/12.17, allocations: 3.938 kB / 3.97 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/12.17, allocations: 3.938 kB / 3.97 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/12.17, allocations: 3.516 kB / 3.97 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00662/12.18, allocations: 3.028 MB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/12.18, allocations: 7.281 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/12.18, allocations: 131.9 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/12.18, allocations: 12.97 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.483e-05/12.18, allocations: 25.84 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/12.18, allocations: 14.97 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/12.18, allocations: 18.42 kB / 3.973 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/12.18, allocations: 1.592 MB / 3.975 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/12.18, allocations: 309.4 kB / 3.975 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/12.18, allocations: 14.25 kB / 3.975 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/12.19, allocations: 119 kB / 3.975 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/12.19, allocations: 59.12 kB / 3.975 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/12.19, allocations: 56.98 kB / 3.976 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009282/12.19, allocations: 0.5001 MB / 3.976 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.733e-06/12.19, allocations: 0 / 3.976 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002385/12.19, allocations: 414.4 kB / 3.976 GB, free: 148.4 MB / 0.8698 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.006404/12.2, allocations: 5.949 MB / 3.982 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002079/12.2, allocations: 0.8238 MB / 3.983 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/12.2, allocations: 0 / 3.983 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/12.2, allocations: 471.5 kB / 3.983 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/12.2, allocations: 348.4 kB / 3.984 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/12.21, allocations: 1.706 MB / 3.985 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/12.21, allocations: 1.095 MB / 3.987 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001947/12.21, allocations: 253.2 kB / 3.987 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008033/12.21, allocations: 353.7 kB / 3.987 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.453e-06/12.21, allocations: 0 / 3.987 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/12.32, allocations: 34 MB / 4.02 GB, free: 142 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/12.32, allocations: 198 kB / 4.021 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/16.45, allocations: 7.75 kB / 4.021 GB, free: 141.8 MB / 0.8698 GB