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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008397, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005414, allocations: 19.25 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0674/0.2902, allocations: 71.13 MB / 0.8569 GB, free: 4.508 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.3155, allocations: 17.58 MB / 0.874 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003983/0.3196, allocations: 95.31 kB / 0.8741 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.3229, allocations: 0.8733 MB / 0.875 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00979/0.3327, allocations: 2.821 MB / 0.8777 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005136/0.3378, allocations: 1.509 MB / 0.8792 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.349, allocations: 7.58 MB / 0.8866 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003858/0.3529, allocations: 1.433 MB / 0.888 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00525/0.3582, allocations: 1.874 MB / 0.8898 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.362, allocations: 1.598 MB / 0.8914 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008195/0.3629, allocations: 72 kB / 0.8915 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.3673, allocations: 0.8962 MB / 0.8923 GB, free: 88 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009396/0.3683, allocations: 394.2 kB / 0.8927 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.3698, allocations: 484.6 kB / 0.8932 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3746, allocations: 2.669 MB / 0.8958 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3746, allocations: 0 / 0.8958 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3746, allocations: 0 / 0.8958 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001306/0.3748, allocations: 0 / 0.8958 GB, free: 12.54 MB / 0.7169 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.005546/0.3803, allocations: 2.314 MB / 0.898 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3804, allocations: 8.031 kB / 0.8981 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005428/0.3809, allocations: 202.6 kB / 0.8982 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.3819, allocations: 269.1 kB / 0.8985 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.3858, allocations: 1.879 MB / 0.9003 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.3859, allocations: 106.7 kB / 0.9004 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.3862, allocations: 144 kB / 0.9006 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.3894, allocations: 1.528 MB / 0.9021 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.3895, allocations: 11.84 kB / 0.9021 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.3896, allocations: 60 kB / 0.9021 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.3897, allocations: 39.94 kB / 0.9022 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.3923, allocations: 1.154 MB / 0.9033 GB, free: 4.633 MB / 0.7169 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.01028/0.4026, allocations: 7.583 MB / 0.9107 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4037, allocations: 0.4889 MB / 0.9112 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.4044, allocations: 351.7 kB / 0.9115 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/0.4054, allocations: 1.152 MB / 0.9126 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.4054, allocations: 43.12 kB / 0.9127 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.425e-06/0.4054, allocations: 0 / 0.9127 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002432/0.4079, allocations: 1.016 MB / 0.9137 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.4079, allocations: 63.97 kB / 0.9137 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.411, allocations: 1.727 MB / 0.9154 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.4111, allocations: 41.7 kB / 0.9155 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009314/0.4121, allocations: 0.9237 MB / 0.9164 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.4123, allocations: 216.9 kB / 0.9166 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.4124, allocations: 24 kB / 0.9166 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003209/0.4127, allocations: 345.9 kB / 0.9169 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.4135, allocations: 346.4 kB / 0.9173 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.4146, allocations: 0.7095 MB / 0.918 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.4156, allocations: 462.7 kB / 0.9184 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.4156, allocations: 4 kB / 0.9184 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002876/0.4185, allocations: 1.253 MB / 0.9196 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.4186, allocations: 15.98 kB / 0.9196 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.4186, allocations: 8 kB / 0.9196 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.21e-05/0.4186, allocations: 20 kB / 0.9197 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4197, allocations: 315.9 kB / 0.92 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.4197, allocations: 19.94 kB / 0.92 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.4216, allocations: 250.4 kB / 0.9202 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.4218, allocations: 51.98 kB / 0.9203 GB, free: 2.152 MB / 0.7325 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.0009699/0.4227, allocations: 444.2 kB / 0.9207 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.4233, allocations: 193.7 kB / 0.9209 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.4255, allocations: 0.9029 MB / 0.9218 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.4255, allocations: 11.94 kB / 0.9218 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4255, allocations: 0 / 0.9218 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5136/0.9391, allocations: 0.8294 MB / 0.9226 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/0.9446, allocations: 2.48 MB / 0.925 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9446, allocations: 2.531 kB / 0.925 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/0.9454, allocations: 202.5 kB / 0.9252 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.9455, allocations: 7.094 kB / 0.9252 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.9455, allocations: 20.84 kB / 0.9252 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.9455, allocations: 5.75 kB / 0.9252 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9455, allocations: 3.188 kB / 0.9252 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.9483, allocations: 1.394 MB / 0.9266 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/0.9492, allocations: 398.1 kB / 0.927 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.9494, allocations: 20.42 kB / 0.927 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.9504, allocations: 128.4 kB / 0.9271 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.9505, allocations: 50.81 kB / 0.9272 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.9506, allocations: 36.12 kB / 0.9272 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002195/0.9528, allocations: 1.19 MB / 0.9284 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9528, allocations: 0 / 0.9284 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001844/0.9547, allocations: 0.631 MB / 0.929 GB, free: 131.3 MB / 0.7325 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.003252/0.958, allocations: 2.402 MB / 0.9313 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.9599, allocations: 0.8498 MB / 0.9322 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.9599, allocations: 0 / 0.9322 GB, free: 130 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.9606, allocations: 376 kB / 0.9325 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/0.9662, allocations: 1.21 MB / 0.9337 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/0.9925, allocations: 11.1 MB / 0.9445 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.9941, allocations: 1.402 MB / 0.9459 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002276/0.9964, allocations: 381.1 kB / 0.9463 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.9975, allocations: 0.7608 MB / 0.947 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.9975, allocations: 0 / 0.947 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/1.086, allocations: 56.51 MB / 1.002 GB, free: 77.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.086, allocations: 241.2 kB / 1.002 GB, free: 77.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.2, allocations: 0 / 1.002 GB, free: 77.38 MB / 0.7325 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) Environment - environmentSimulation: