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.265/2.265, allocations: 248.5 MB / 261.1 MB, free: 6.086 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.00157/0.001569, allocations: 186.4 kB / 320.4 MB, free: 15.35 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.903/1.903, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.00107/0.00107, allocations: 90.44 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.564e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.203, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.83/2.033, allocations: 405.4 MB / 1.287 GB, free: 261.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/2.034, allocations: 90.75 kB / 1.287 GB, free: 261.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.918/5.952, allocations: 0.7718 GB / 2.058 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/5.952, allocations: 0 / 2.058 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003856/5.952, allocations: 60.12 kB / 2.058 GB, free: 122.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.007318/5.96, allocations: 2.159 MB / 2.061 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/5.96, allocations: 10.28 kB / 2.061 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006389/5.96, allocations: 210.4 kB / 2.061 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/5.962, allocations: 258.2 kB / 2.061 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08372/6.046, allocations: 23.52 MB / 2.084 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/6.046, allocations: 108.1 kB / 2.084 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000643/6.047, allocations: 153.3 kB / 2.084 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/6.052, allocations: 1.376 MB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.502e-05/6.053, allocations: 0 / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/6.053, allocations: 58.34 kB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.686e-05/6.053, allocations: 42.88 kB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/6.058, allocations: 0.9582 MB / 2.087 GB, free: 119.8 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.01748/6.075, allocations: 7.532 MB / 2.094 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/6.077, allocations: 462.6 kB / 2.094 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008883/6.078, allocations: 285.3 kB / 2.095 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/6.079, allocations: 1.153 MB / 2.096 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/6.079, allocations: 38.34 kB / 2.096 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 5.239e-06/6.079, allocations: 0 / 2.096 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002762/6.082, allocations: 0.6559 MB / 2.096 GB, free: 114 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/6.082, allocations: 59.22 kB / 2.097 GB, free: 114 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/6.087, allocations: 1.508 MB / 2.098 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/6.087, allocations: 39.95 kB / 2.098 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/6.089, allocations: 0.9393 MB / 2.099 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/6.089, allocations: 221.6 kB / 2.099 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/6.089, allocations: 17.69 kB / 2.099 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000121/6.089, allocations: 339.8 kB / 2.1 GB, free: 113 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/6.09, allocations: 232.9 kB / 2.1 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/6.092, allocations: 0.6135 MB / 2.1 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/6.093, allocations: 346.2 kB / 2.101 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/6.093, allocations: 3.844 kB / 2.101 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003532/6.096, allocations: 0.9882 MB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/6.096, allocations: 12.28 kB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/6.096, allocations: 6.75 kB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-05/6.096, allocations: 20.56 kB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/6.098, allocations: 229.6 kB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.892e-05/6.098, allocations: 20.28 kB / 2.102 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/6.103, allocations: 235.2 kB / 2.102 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/6.103, allocations: 53 kB / 2.102 GB, free: 111.8 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.0003931/6.103, allocations: 171.1 kB / 2.102 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/6.104, allocations: 195.2 kB / 2.103 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/6.107, allocations: 0.7848 MB / 2.103 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/6.107, allocations: 10.78 kB / 2.103 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/6.107, allocations: 2.25 kB / 2.103 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001769/6.109, allocations: 0.7063 MB / 2.104 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00815/6.117, allocations: 2.355 MB / 2.106 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/6.117, allocations: 5.875 kB / 2.106 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/6.119, allocations: 183.7 kB / 2.106 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/6.119, allocations: 6.688 kB / 2.107 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/6.119, allocations: 19.59 kB / 2.107 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/6.119, allocations: 6.406 kB / 2.107 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/6.119, allocations: 3.625 kB / 2.107 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/6.123, allocations: 1.38 MB / 2.108 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/6.125, allocations: 402.2 kB / 2.108 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007564/6.126, allocations: 15.86 kB / 2.108 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/6.129, allocations: 125.2 kB / 2.108 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/6.13, allocations: 48.17 kB / 2.108 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/6.13, allocations: 32.66 kB / 2.108 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003983/6.134, allocations: 1.2 MB / 2.11 GB, free: 108 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.414e-06/6.134, allocations: 0 / 2.11 GB, free: 108 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004476/6.138, allocations: 0.6929 MB / 2.11 GB, free: 107.8 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.007082/6.146, allocations: 3.27 MB / 2.114 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002443/6.148, allocations: 0.6517 MB / 2.114 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/6.148, allocations: 3.719 kB / 2.114 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/6.149, allocations: 315.1 kB / 2.114 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/6.163, allocations: 1.254 MB / 2.116 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/6.176, allocations: 2.839 MB / 2.118 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/6.177, allocations: 1.44 MB / 2.12 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003818/6.181, allocations: 383.9 kB / 2.12 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/6.183, allocations: 0.7518 MB / 2.121 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/6.183, allocations: 0 / 2.121 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/6.34, allocations: 63.18 MB / 2.183 GB, free: 55.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/6.34, allocations: 205.4 kB / 2.183 GB, free: 55.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.075/11.42, allocations: 0 / 2.183 GB, free: 55.67 MB / 0.8698 GB