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.234/2.234, allocations: 251 MB / 265.9 MB, free: 11.68 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.001605/0.001605, allocations: 174.8 kB / 325.5 MB, free: 2.895 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.286/2.286, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001088/0.001088, allocations: 96.58 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006978/0.0006978, allocations: 13.53 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1992, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.399, allocations: 405.5 MB / 1.295 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/1.399, allocations: 98.95 kB / 1.295 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.846/5.245, allocations: 0.774 GB / 2.069 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.835e-06/5.245, allocations: 0 / 2.069 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003237/5.245, allocations: 55.98 kB / 2.069 GB, free: 17.94 MB / 0.8855 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.009196/5.254, allocations: 2.573 MB / 2.071 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/5.255, allocations: 8.031 kB / 2.071 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007868/5.255, allocations: 202.6 kB / 2.072 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/5.257, allocations: 265 kB / 2.072 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7835/6.04, allocations: 23.65 MB / 2.095 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/6.04, allocations: 105.6 kB / 2.095 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/6.041, allocations: 146.2 kB / 2.095 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/6.046, allocations: 1.475 MB / 2.097 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/6.046, allocations: 1.406 kB / 2.097 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/6.046, allocations: 55.75 kB / 2.097 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.233e-05/6.046, allocations: 45.97 kB / 2.097 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00484/6.051, allocations: 1.105 MB / 2.098 GB, free: 114.9 MB / 0.8855 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.01428/6.066, allocations: 7.548 MB / 2.105 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/6.068, allocations: 0.504 MB / 2.106 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/6.069, allocations: 1.165 MB / 2.107 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/6.069, allocations: 41.38 kB / 2.107 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.216e-06/6.069, allocations: 0 / 2.107 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.004391/6.073, allocations: 1.038 MB / 2.108 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/6.073, allocations: 60.59 kB / 2.108 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003963/6.077, allocations: 1.531 MB / 2.109 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/6.077, allocations: 42.83 kB / 2.11 GB, free: 109 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/6.078, allocations: 0.9399 MB / 2.11 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/6.079, allocations: 211.6 kB / 2.111 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/6.079, allocations: 18.69 kB / 2.111 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000105/6.079, allocations: 337.1 kB / 2.111 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/6.08, allocations: 309.7 kB / 2.111 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/6.082, allocations: 0.6806 MB / 2.112 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/6.083, allocations: 428.1 kB / 2.112 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/6.083, allocations: 7.734 kB / 2.112 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003922/6.087, allocations: 1.119 MB / 2.113 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/6.087, allocations: 10.19 kB / 2.113 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/6.087, allocations: 11.22 kB / 2.113 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.756e-05/6.087, allocations: 21.98 kB / 2.113 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/6.089, allocations: 235.5 kB / 2.114 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/6.089, allocations: 26.36 kB / 2.114 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/6.092, allocations: 237 kB / 2.114 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/6.092, allocations: 50.75 kB / 2.114 GB, free: 107.7 MB / 0.8855 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 () * Number of clocked 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.001276/6.093, allocations: 432 kB / 2.114 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/6.094, allocations: 187.6 kB / 2.115 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/6.097, allocations: 0.9237 MB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/6.097, allocations: 11.47 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/6.097, allocations: 6.203 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00211/6.099, allocations: 0.8439 MB / 2.116 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/6.106, allocations: 2.493 MB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/6.106, allocations: 1.969 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/6.107, allocations: 185.7 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/6.107, allocations: 6.969 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/6.107, allocations: 22.39 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/6.107, allocations: 4.312 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/6.107, allocations: 2.688 kB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/6.112, allocations: 1.591 MB / 2.121 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/6.113, allocations: 389.9 kB / 2.121 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/6.114, allocations: 20.3 kB / 2.121 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/6.116, allocations: 133 kB / 2.121 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/6.116, allocations: 53.33 kB / 2.121 GB, free: 106 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/6.116, allocations: 31.95 kB / 2.121 GB, free: 106 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002626/6.119, allocations: 1.218 MB / 2.122 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.21e-07/6.119, allocations: 3.625 kB / 2.122 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003445/6.122, allocations: 0.6875 MB / 2.123 GB, free: 105.9 MB / 0.8855 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 () * Number of clocked 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.006771/6.129, allocations: 3.486 MB / 2.126 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002751/6.132, allocations: 0.7964 MB / 2.127 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/6.132, allocations: 3.906 kB / 2.127 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/6.133, allocations: 388.5 kB / 2.128 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/6.144, allocations: 1.247 MB / 2.129 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/6.177, allocations: 17.69 MB / 2.146 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/6.178, allocations: 1.446 MB / 2.147 GB, free: 92.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002724/6.181, allocations: 380 kB / 2.148 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/6.183, allocations: 0.7511 MB / 2.149 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of SimCode: time 1.883e-06/6.183, allocations: 0 / 2.149 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/6.347, allocations: 62.91 MB / 2.21 GB, free: 89.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/6.348, allocations: 236.8 kB / 2.21 GB, free: 89.53 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.251/11.6, allocations: 0 / 2.21 GB, free: 89.53 MB / 0.8855 GB