Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001111/0.001111, allocations: 177 kB / 371.8 MB, free: 10.27 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.429/1.429, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008474/0.0008475, allocations: 93.52 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003409, allocations: 12.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04796/0.2133, allocations: 64.42 MB / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01928/0.2327, allocations: 16.07 MB / 1.058 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.235, allocations: 87.38 kB / 1.058 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.238, allocations: 1.174 MB / 1.059 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.2463, allocations: 3.449 MB / 1.063 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.252, allocations: 2.326 MB / 1.065 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005166/0.2571, allocations: 3.859 MB / 1.069 GB, free: 52 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.357/0.6141, allocations: 1.454 MB / 1.07 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.6176, allocations: 1.639 MB / 1.072 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.6194, allocations: 1.074 MB / 1.073 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.6196, allocations: 74.56 kB / 1.073 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.6227, allocations: 1.016 MB / 1.074 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.6231, allocations: 380.4 kB / 1.074 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.6241, allocations: 489.7 kB / 1.075 GB, free: 28.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.6279, allocations: 2.638 MB / 1.077 GB, free: 28.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.6279, allocations: 0 / 1.077 GB, free: 28.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6279, allocations: 1.219 kB / 1.077 GB, free: 28.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.692e-05/0.628, allocations: 0 / 1.077 GB, free: 28.55 MB / 0.698 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.004519/0.6325, allocations: 2.311 MB / 1.08 GB, free: 27.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.6325, allocations: 9.375 kB / 1.08 GB, free: 27.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002615/0.6328, allocations: 204.6 kB / 1.08 GB, free: 27.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/0.6335, allocations: 266.2 kB / 1.08 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.6366, allocations: 1.752 MB / 1.082 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.6367, allocations: 103.3 kB / 1.082 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.6369, allocations: 150.9 kB / 1.082 GB, free: 26.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.6398, allocations: 1.518 MB / 1.083 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.6398, allocations: 3.281 kB / 1.083 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.64, allocations: 56.31 kB / 1.083 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/0.64, allocations: 46.48 kB / 1.084 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.6425, allocations: 1.155 MB / 1.085 GB, free: 26.5 MB / 0.698 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.008364/0.6509, allocations: 7.637 MB / 1.092 GB, free: 22.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.6519, allocations: 0.4894 MB / 1.093 GB, free: 22.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/0.6528, allocations: 1.145 MB / 1.094 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6528, allocations: 42.34 kB / 1.094 GB, free: 20.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.815e-06/0.6528, allocations: 0 / 1.094 GB, free: 20.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002122/0.6549, allocations: 1.026 MB / 1.095 GB, free: 20.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.655, allocations: 61.56 kB / 1.095 GB, free: 20.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.6572, allocations: 1.812 MB / 1.097 GB, free: 20.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.6573, allocations: 44.39 kB / 1.097 GB, free: 20.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/0.658, allocations: 0.9184 MB / 1.097 GB, free: 20.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.6582, allocations: 225.2 kB / 1.098 GB, free: 19.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.6582, allocations: 20.72 kB / 1.098 GB, free: 19.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6584, allocations: 350.2 kB / 1.098 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.659, allocations: 347.2 kB / 1.098 GB, free: 19.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008585/0.6599, allocations: 0.7059 MB / 1.099 GB, free: 19.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/0.6607, allocations: 461.6 kB / 1.1 GB, free: 19.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6607, allocations: 3 kB / 1.1 GB, free: 19.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002086/0.6628, allocations: 1.249 MB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6628, allocations: 9.562 kB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6629, allocations: 10.34 kB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.6629, allocations: 21.95 kB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.664, allocations: 315.5 kB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/0.664, allocations: 25.53 kB / 1.101 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6656, allocations: 255.8 kB / 1.101 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.6657, allocations: 49.95 kB / 1.101 GB, free: 18.93 MB / 0.698 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 (135): * Single equations (assignments): 135 * 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.0007271/0.6664, allocations: 441.7 kB / 1.102 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.6667, allocations: 191.4 kB / 1.102 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.6684, allocations: 0.9014 MB / 1.103 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.6685, allocations: 10.62 kB / 1.103 GB, free: 18.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6685, allocations: 5.141 kB / 1.103 GB, free: 18.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001347/0.6698, allocations: 0.8312 MB / 1.104 GB, free: 18.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.6737, allocations: 2.522 MB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.6737, allocations: 6.156 kB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.6745, allocations: 208.6 kB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6745, allocations: 6.312 kB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.6745, allocations: 15.94 kB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.6745, allocations: 9.719 kB / 1.106 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6745, allocations: 5.375 kB / 1.106 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.6765, allocations: 1.54 MB / 1.108 GB, free: 17.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007458/0.6773, allocations: 418.7 kB / 1.108 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.6775, allocations: 19.48 kB / 1.108 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6785, allocations: 125.3 kB / 1.108 GB, free: 17.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.6786, allocations: 53.14 kB / 1.109 GB, free: 17.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.6786, allocations: 39.69 kB / 1.109 GB, free: 17.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001435/0.6801, allocations: 1.256 MB / 1.11 GB, free: 16.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6801, allocations: 0 / 1.11 GB, free: 16.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001657/0.6818, allocations: 0.6632 MB / 1.11 GB, free: 16.88 MB / 0.698 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.003317/0.6851, allocations: 3.081 MB / 1.113 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.6866, allocations: 0.851 MB / 1.114 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6866, allocations: 1.094 kB / 1.114 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.6873, allocations: 375.5 kB / 1.115 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/0.6921, allocations: 1.19 MB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/0.7001, allocations: 11.53 MB / 1.127 GB, free: 5.762 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.7011, allocations: 1.436 MB / 1.128 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001727/0.7028, allocations: 384.2 kB / 1.129 GB, free: 4.914 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/0.7036, allocations: 0.7627 MB / 1.13 GB, free: 4.906 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/0.7037, allocations: 0.6875 kB / 1.13 GB, free: 4.906 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/2.603, allocations: 56.67 MB / 1.185 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/2.603, allocations: 241.1 kB / 1.185 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/7.249, allocations: 0 / 1.185 GB, free: 12.23 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)