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.224/2.224, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001444/0.001444, allocations: 180.8 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.2 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 90.42 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.873e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.238/8.453, allocations: 2.431 GB / 3.321 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/8.453, allocations: 80.31 kB / 3.322 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.444/11.9, allocations: 0.6327 GB / 3.954 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/11.9, allocations: 0 / 3.954 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001395/11.9, allocations: 42.23 kB / 3.954 GB, free: 152.6 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.005545/11.9, allocations: 1.407 MB / 3.956 GB, free: 152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/11.9, allocations: 10.25 kB / 3.956 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/11.9, allocations: 118.2 kB / 3.956 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/11.91, allocations: 0.5365 MB / 3.956 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03902/11.95, allocations: 12.73 MB / 3.969 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002147/11.95, allocations: 323.6 kB / 3.969 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/11.95, allocations: 72.66 kB / 3.969 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/11.95, allocations: 0.9627 MB / 3.97 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/11.95, allocations: 1.5 kB / 3.97 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/11.95, allocations: 29.34 kB / 3.97 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/11.95, allocations: 36.88 kB / 3.97 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/11.95, allocations: 0.8632 MB / 3.971 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009261/11.96, allocations: 3.36 MB / 3.974 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/11.97, allocations: 0.5996 MB / 3.975 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/11.97, allocations: 372.8 kB / 3.975 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/11.97, allocations: 1.029 MB / 3.976 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/11.97, allocations: 489.9 kB / 3.977 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.777e-06/11.97, allocations: 0 / 3.977 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002733/11.97, allocations: 0.8368 MB / 3.978 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/11.97, allocations: 169.8 kB / 3.978 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/11.97, allocations: 0.9421 MB / 3.979 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/11.97, allocations: 41.02 kB / 3.979 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/11.97, allocations: 441.4 kB / 3.979 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/11.97, allocations: 192.8 kB / 3.979 GB, free: 148 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/11.97, allocations: 12.41 kB / 3.979 GB, free: 148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/11.98, allocations: 335.4 kB / 3.98 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/11.98, allocations: 305 kB / 3.98 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/11.98, allocations: 0.5014 MB / 3.98 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/11.98, allocations: 381.7 kB / 3.981 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/11.98, allocations: 0 / 3.981 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002611/11.98, allocations: 0.9474 MB / 3.982 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/11.98, allocations: 42.48 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/11.98, allocations: 7.328 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/11.98, allocations: 3.906 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/11.98, allocations: 219.9 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/11.98, allocations: 6.125 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/11.99, allocations: 305.5 kB / 3.982 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/11.99, allocations: 45.47 kB / 3.982 GB, free: 147.3 MB / 0.8698 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 () * 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.0003496/11.99, allocations: 189.5 kB / 3.982 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/11.99, allocations: 119.2 kB / 3.983 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/11.99, allocations: 0.9223 MB / 3.983 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/11.99, allocations: 11.05 kB / 3.983 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/11.99, allocations: 6.156 kB / 3.983 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/11.99, allocations: 0 / 3.983 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006461/12, allocations: 3.246 MB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/12, allocations: 6.031 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/12, allocations: 133.4 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/12, allocations: 11.12 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/12, allocations: 25.23 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/12, allocations: 19.92 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.629e-06/12, allocations: 9.938 kB / 3.987 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/12, allocations: 1.717 MB / 3.988 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/12, allocations: 335.6 kB / 3.989 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/12, allocations: 24.95 kB / 3.989 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/12, allocations: 128.6 kB / 3.989 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/12, allocations: 68.14 kB / 3.989 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/12, allocations: 42.12 kB / 3.989 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001451/12, allocations: 0.7424 MB / 3.99 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/12, allocations: 0 / 3.99 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002305/12.01, allocations: 444.8 kB / 3.99 GB, free: 144.7 MB / 0.8698 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) * 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.00595/12.01, allocations: 5.932 MB / 3.996 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002209/12.02, allocations: 0.8238 MB / 3.997 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/12.02, allocations: 0 / 3.997 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009666/12.02, allocations: 489.6 kB / 3.997 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/12.02, allocations: 0.5265 MB / 3.998 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/12.03, allocations: 1.839 MB / 4 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/12.03, allocations: 1.092 MB / 4.001 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002138/12.03, allocations: 282.4 kB / 4.001 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/12.03, allocations: 375 kB / 4.001 GB, free: 139 MB / 0.8698 GB Notification: Performance of SimCode: time 2.074e-06/12.03, allocations: 0 / 4.001 GB, free: 139 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/12.16, allocations: 55.18 MB / 4.055 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/12.16, allocations: 212.9 kB / 4.055 GB, free: 137 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.28/17.44, allocations: 2.188 kB / 4.055 GB, free: 137 MB / 0.8698 GB