Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v2",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.136/2.136, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002176, allocations: 179.2 kB / 325.5 MB, free: 2.91 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.425/2.425, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001094/0.001094, allocations: 95.73 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 10.97 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.463, allocations: 415.2 MB / 1.304 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/1.464, allocations: 98.27 kB / 1.304 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 12.6/14.06, allocations: 2.281 GB / 3.585 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.735e-06/14.06, allocations: 0.875 kB / 3.585 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001946/14.06, allocations: 252.8 kB / 3.585 GB, free: 122.2 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05438/14.12, allocations: 9.476 MB / 3.594 GB, free: 118.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/14.12, allocations: 13.53 kB / 3.594 GB, free: 118.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004784/14.12, allocations: 0.7668 MB / 3.595 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/14.13, allocations: 1.233 MB / 3.596 GB, free: 118.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04864/14.18, allocations: 12.61 MB / 3.609 GB, free: 116.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/14.18, allocations: 440.4 kB / 3.609 GB, free: 116.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004364/14.19, allocations: 0.5867 MB / 3.61 GB, free: 116.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04014/14.23, allocations: 13.63 MB / 3.623 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/14.23, allocations: 22.41 kB / 3.623 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00366/14.23, allocations: 243.4 kB / 3.623 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/14.23, allocations: 139.8 kB / 3.623 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07339/14.3, allocations: 18.34 MB / 3.641 GB, free: 116 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1444/14.45, allocations: 55.48 MB / 3.696 GB, free: 94.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/14.47, allocations: 8.863 MB / 3.704 GB, free: 91.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08399/14.55, allocations: 26.33 MB / 3.73 GB, free: 75.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0171/14.57, allocations: 7.412 MB / 3.737 GB, free: 68.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09109/14.66, allocations: 21.16 MB / 3.758 GB, free: 47.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.198e-05/14.66, allocations: 0 / 3.758 GB, free: 47.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.07822/14.74, allocations: 22.55 MB / 3.78 GB, free: 24.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/14.74, allocations: 85.78 kB / 3.78 GB, free: 24.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01956/14.76, allocations: 7.466 MB / 3.787 GB, free: 17.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002445/14.76, allocations: 97.7 kB / 3.787 GB, free: 16.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005911/14.77, allocations: 4.013 MB / 3.791 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003508/14.77, allocations: 1.079 MB / 3.792 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002286/14.77, allocations: 88 kB / 3.792 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000451/14.77, allocations: 499.7 kB / 3.793 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01528/14.79, allocations: 6.184 MB / 3.799 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7679/15.56, allocations: 7.998 MB / 3.807 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/15.58, allocations: 7.085 MB / 3.814 GB, free: 121 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.882e-05/15.58, allocations: 13.84 kB / 3.814 GB, free: 121 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05761/15.63, allocations: 16.57 MB / 3.83 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005504/15.64, allocations: 25.25 MB / 3.854 GB, free: 94.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/15.64, allocations: 47.28 kB / 3.854 GB, free: 94.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1327/15.77, allocations: 10.88 MB / 3.865 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01583/15.79, allocations: 1.612 MB / 3.867 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/15.8, allocations: 6.357 MB / 3.873 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02035/15.82, allocations: 0.5956 MB / 3.873 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003676/15.83, allocations: 0.5471 MB / 3.874 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/15.83, allocations: 3.938 kB / 3.874 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0511/15.88, allocations: 15.91 MB / 3.89 GB, free: 91.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/15.88, allocations: 46.78 kB / 3.89 GB, free: 91.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1323/16.01, allocations: 10.62 MB / 3.9 GB, free: 90.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/16.03, allocations: 1.604 MB / 3.902 GB, free: 90.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/16.05, allocations: 10.36 MB / 3.912 GB, free: 86.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01811/16.07, allocations: 0.5717 MB / 3.912 GB, free: 86.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004159/16.07, allocations: 0.5316 MB / 3.913 GB, free: 86.16 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.01098/16.08, allocations: 2.638 MB / 3.915 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005212/16.09, allocations: 0.7493 MB / 3.916 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04722/16.14, allocations: 13.67 MB / 3.929 GB, free: 85.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/16.14, allocations: 32.38 kB / 3.929 GB, free: 85.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/16.14, allocations: 5.312 kB / 3.929 GB, free: 85.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02677/16.16, allocations: 10.26 MB / 3.939 GB, free: 84.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06139/16.23, allocations: 23.95 MB / 3.963 GB, free: 81.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-05/16.23, allocations: 5.875 kB / 3.963 GB, free: 81.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009821/16.24, allocations: 0.6905 MB / 3.964 GB, free: 81.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1274/16.36, allocations: 9.941 MB / 3.973 GB, free: 81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001417/16.36, allocations: 99.33 kB / 3.973 GB, free: 81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/16.37, allocations: 4.325 MB / 3.978 GB, free: 78.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/16.37, allocations: 0 / 3.978 GB, free: 78.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04664/16.42, allocations: 18.52 MB / 3.996 GB, free: 77.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008763/16.43, allocations: 1.992 MB / 3.998 GB, free: 76.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004036/16.43, allocations: 77.5 kB / 3.998 GB, free: 76.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01284/16.44, allocations: 419 kB / 3.998 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001819/16.45, allocations: 226.8 kB / 3.998 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001209/16.45, allocations: 156.2 kB / 3.998 GB, free: 76.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01574/16.46, allocations: 5.805 MB / 4.004 GB, free: 75.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.22e-07/16.46, allocations: 0 / 4.004 GB, free: 75.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03131/16.49, allocations: 4.921 MB / 4.009 GB, free: 74.93 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05129/16.55, allocations: 20.09 MB / 4.029 GB, free: 65.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06258/16.61, allocations: 23.59 MB / 4.052 GB, free: 55.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/16.61, allocations: 0 / 4.052 GB, free: 55.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01541/16.62, allocations: 6.189 MB / 4.058 GB, free: 49.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03793/16.66, allocations: 4.623 MB / 4.062 GB, free: 46.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09037/16.75, allocations: 75.59 MB / 4.136 GB, free: 2.078 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/16.77, allocations: 5.362 MB / 4.141 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03571/16.8, allocations: 4.947 MB / 4.146 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01621/16.82, allocations: 3.809 MB / 4.15 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of SimCode: time 1.503e-06/16.82, allocations: 0 / 4.15 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/18.24, allocations: 292.7 MB / 4.436 GB, free: 48.31 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/18.24, allocations: 251.8 kB / 4.436 GB, free: 47.99 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/31.84, allocations: 0 / 4.436 GB, free: 47.99 MB / 0.9636 GB