Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.292/2.292, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001483/0.001483, allocations: 174.1 kB / 315.4 MB, free: 3.984 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.133/2.133, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 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.001049/0.001049, allocations: 82.48 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.287e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.022/2.24, allocations: 405.7 MB / 1.28 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/2.241, allocations: 91.41 kB / 1.28 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.027/6.267, allocations: 0.7671 GB / 2.047 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/6.267, allocations: 0 / 2.047 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003897/6.268, allocations: 60.73 kB / 2.048 GB, free: 124.4 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007049/6.275, allocations: 2.165 MB / 2.05 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/6.275, allocations: 7.312 kB / 2.05 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/6.276, allocations: 261.9 kB / 2.05 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07432/6.351, allocations: 23.45 MB / 2.073 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/6.351, allocations: 43.53 kB / 2.073 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/6.351, allocations: 88.92 kB / 2.073 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00282/6.354, allocations: 0.8643 MB / 2.074 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/6.358, allocations: 1.188 MB / 2.075 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/6.358, allocations: 2.719 kB / 2.075 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/6.358, allocations: 0 / 2.075 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/6.358, allocations: 44.34 kB / 2.075 GB, free: 121.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01204/6.37, allocations: 7.249 MB / 2.082 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/6.371, allocations: 417.3 kB / 2.082 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/6.372, allocations: 276.2 kB / 2.083 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/6.373, allocations: 1.157 MB / 2.084 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/6.373, allocations: 37.62 kB / 2.084 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 2.946e-06/6.373, allocations: 0 / 2.084 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002267/6.375, allocations: 0.6173 MB / 2.084 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/6.375, allocations: 55.88 kB / 2.085 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/6.378, allocations: 1.187 MB / 2.086 GB, free: 116 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/6.378, allocations: 29.23 kB / 2.086 GB, free: 116 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008761/6.379, allocations: 0.9436 MB / 2.087 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/6.379, allocations: 205.9 kB / 2.087 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/6.379, allocations: 6.922 kB / 2.087 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/6.379, allocations: 342.7 kB / 2.087 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/6.38, allocations: 212.9 kB / 2.087 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/6.381, allocations: 0.5816 MB / 2.088 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/6.382, allocations: 356.3 kB / 2.088 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/6.382, allocations: 3.688 kB / 2.088 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002704/6.385, allocations: 0.8855 MB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/6.385, allocations: 13.92 kB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/6.385, allocations: 11.81 kB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.22e-05/6.385, allocations: 23.34 kB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.386, allocations: 226.7 kB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/6.386, allocations: 20.94 kB / 2.089 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/6.389, allocations: 171.3 kB / 2.09 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/6.389, allocations: 48.61 kB / 2.09 GB, free: 114.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * 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.0002734/6.39, allocations: 139.2 kB / 2.09 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002311/6.392, allocations: 0.6093 MB / 2.09 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/6.392, allocations: 166.6 kB / 2.091 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/6.395, allocations: 0.7279 MB / 2.091 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/6.395, allocations: 7.812 kB / 2.091 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/6.395, allocations: 3.938 kB / 2.091 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/6.397, allocations: 0.6827 MB / 2.092 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006875/6.404, allocations: 2.136 MB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/6.404, allocations: 6.188 kB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/6.405, allocations: 175.7 kB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.868e-05/6.405, allocations: 9.5 kB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/6.405, allocations: 7.469 kB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/6.405, allocations: 9.594 kB / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/6.405, allocations: 0 / 2.094 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/6.408, allocations: 1.294 MB / 2.095 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/6.41, allocations: 365.3 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006025/6.411, allocations: 7.891 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/6.413, allocations: 112.8 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/6.414, allocations: 51.08 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/6.414, allocations: 32.61 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002072/6.416, allocations: 0.8939 MB / 2.097 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/6.416, allocations: 4.719 kB / 2.097 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003789/6.42, allocations: 0.6937 MB / 2.098 GB, free: 112.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005674/6.425, allocations: 3.206 MB / 2.101 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00166/6.427, allocations: 0.6087 MB / 2.101 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/6.427, allocations: 2.5 kB / 2.101 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/6.428, allocations: 297.6 kB / 2.102 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008652/6.437, allocations: 0.9514 MB / 2.103 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009025/6.446, allocations: 2.726 MB / 2.105 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/6.447, allocations: 1.443 MB / 2.107 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002497/6.449, allocations: 331.1 kB / 2.107 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/6.451, allocations: 0.7412 MB / 2.108 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.344e-06/6.451, allocations: 0 / 2.108 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/6.599, allocations: 48.29 MB / 2.155 GB, free: 88.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/6.599, allocations: 185.2 kB / 2.155 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/11.03, allocations: 0 / 2.155 GB, free: 88.46 MB / 0.8698 GB