Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 168.9 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.2 MB / 0.626 GB, free: 7.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008236, allocations: 100.4 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.233e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6922, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.842, allocations: 413.5 MB / 1.377 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.843, allocations: 90.95 kB / 1.377 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/4.954, allocations: 0.7892 GB / 2.166 GB, free: 149.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/4.954, allocations: 3.5 kB / 2.166 GB, free: 149.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003543/4.954, allocations: 57.94 kB / 2.166 GB, free: 149.8 MB / 0.948 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.006925/4.961, allocations: 2.172 MB / 2.169 GB, free: 148.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/4.961, allocations: 7.812 kB / 2.169 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/4.963, allocations: 264 kB / 2.169 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05084/5.014, allocations: 24.13 MB / 2.192 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/5.014, allocations: 54.3 kB / 2.192 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004612/5.015, allocations: 87.12 kB / 2.193 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002445/5.017, allocations: 0.861 MB / 2.193 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/5.02, allocations: 1.196 MB / 2.195 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/5.02, allocations: 7.719 kB / 2.195 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/5.02, allocations: 11.66 kB / 2.195 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/5.021, allocations: 36.94 kB / 2.195 GB, free: 136.7 MB / 0.948 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.008832/5.029, allocations: 7.255 MB / 2.202 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/5.03, allocations: 432.7 kB / 2.202 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/5.031, allocations: 273.7 kB / 2.202 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007656/5.031, allocations: 1.159 MB / 2.204 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/5.031, allocations: 53.22 kB / 2.204 GB, free: 128.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.446e-06/5.031, allocations: 0 / 2.204 GB, free: 128.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001519/5.033, allocations: 0.6095 MB / 2.204 GB, free: 128.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/5.033, allocations: 62.73 kB / 2.204 GB, free: 128.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/5.034, allocations: 1.193 MB / 2.205 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/5.035, allocations: 25.7 kB / 2.205 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/5.035, allocations: 0.9339 MB / 2.206 GB, free: 126.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/5.035, allocations: 211.6 kB / 2.207 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/5.035, allocations: 0 / 2.207 GB, free: 126.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/5.035, allocations: 345.2 kB / 2.207 GB, free: 126.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/5.036, allocations: 213.7 kB / 2.207 GB, free: 126 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/5.036, allocations: 0.5859 MB / 2.208 GB, free: 125.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/5.037, allocations: 353 kB / 2.208 GB, free: 125.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/5.037, allocations: 3.875 kB / 2.208 GB, free: 125.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001389/5.038, allocations: 0.8833 MB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/5.038, allocations: 7.844 kB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/5.038, allocations: 18.14 kB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/5.038, allocations: 24.11 kB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/5.039, allocations: 231.8 kB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/5.039, allocations: 19.47 kB / 2.209 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/5.04, allocations: 171.2 kB / 2.209 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/5.04, allocations: 48.25 kB / 2.209 GB, free: 124.7 MB / 0.948 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.0001636/5.041, allocations: 139.7 kB / 2.209 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009728/5.042, allocations: 0.6095 MB / 2.21 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/5.042, allocations: 174.2 kB / 2.21 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/5.043, allocations: 0.7275 MB / 2.211 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/5.043, allocations: 7.406 kB / 2.211 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/5.043, allocations: 0 / 2.211 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008136/5.044, allocations: 0.6854 MB / 2.212 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/5.047, allocations: 2.151 MB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/5.047, allocations: 0 / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/5.048, allocations: 185.8 kB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/5.048, allocations: 3.906 kB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/5.048, allocations: 11.61 kB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/5.048, allocations: 3.969 kB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/5.048, allocations: 3.75 kB / 2.214 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/5.05, allocations: 1.291 MB / 2.215 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/5.05, allocations: 366.4 kB / 2.216 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/5.05, allocations: 3.125 kB / 2.216 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/5.051, allocations: 120.2 kB / 2.216 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/5.051, allocations: 48.89 kB / 2.216 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/5.052, allocations: 40.81 kB / 2.216 GB, free: 120.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00108/5.053, allocations: 0.8955 MB / 2.217 GB, free: 120 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/5.053, allocations: 0 / 2.217 GB, free: 120 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002248/5.055, allocations: 0.6932 MB / 2.217 GB, free: 119.8 MB / 0.948 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.003337/5.058, allocations: 3.225 MB / 2.22 GB, free: 117.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009515/5.059, allocations: 0.6057 MB / 2.221 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/5.059, allocations: 3.906 kB / 2.221 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/5.06, allocations: 302.8 kB / 2.221 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/5.065, allocations: 0.9507 MB / 2.222 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/5.071, allocations: 2.725 MB / 2.225 GB, free: 115.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/5.072, allocations: 1.435 MB / 2.226 GB, free: 114.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001614/5.073, allocations: 340.9 kB / 2.227 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008709/5.074, allocations: 0.746 MB / 2.227 GB, free: 113.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/5.074, allocations: 0 / 2.227 GB, free: 113.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08397/5.158, allocations: 48.51 MB / 2.275 GB, free: 68.91 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/5.158, allocations: 177.7 kB / 2.275 GB, free: 68.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/9.261, allocations: 0 / 2.275 GB, free: 68.71 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)