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.775/1.775, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.001029/0.001029, allocations: 182.2 kB / 372 MB, free: 10.25 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.452/1.452, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0008009/0.0008008, allocations: 101.3 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005497, allocations: 16.38 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2484, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06303/0.3115, allocations: 71.14 MB / 1.049 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02535/0.3369, allocations: 17.56 MB / 1.066 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003853/0.3408, allocations: 91.38 kB / 1.066 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.3443, allocations: 0.8849 MB / 1.067 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.528/0.8723, allocations: 2.813 MB / 1.07 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005312/0.8776, allocations: 1.511 MB / 1.071 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0137/0.8913, allocations: 7.567 MB / 1.079 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/0.8951, allocations: 1.441 MB / 1.08 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005182/0.9003, allocations: 1.869 MB / 1.082 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.904, allocations: 1.595 MB / 1.084 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003513/0.9044, allocations: 74.5 kB / 1.084 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.9078, allocations: 0.8944 MB / 1.085 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.9083, allocations: 395.2 kB / 1.085 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.9095, allocations: 493.9 kB / 1.085 GB, free: 29.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.9133, allocations: 2.668 MB / 1.088 GB, free: 29.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.9134, allocations: 0 / 1.088 GB, free: 29.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9134, allocations: 0 / 1.088 GB, free: 29.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.331e-05/0.9134, allocations: 3.094 kB / 1.088 GB, free: 29.22 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.004104/0.9176, allocations: 2.306 MB / 1.09 GB, free: 28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.9176, allocations: 9.906 kB / 1.09 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/0.9178, allocations: 205.2 kB / 1.09 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.9184, allocations: 264.7 kB / 1.091 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.9213, allocations: 1.879 MB / 1.093 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.9214, allocations: 108.8 kB / 1.093 GB, free: 27.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.9216, allocations: 141.2 kB / 1.093 GB, free: 27.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.9243, allocations: 1.533 MB / 1.094 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.9243, allocations: 1.656 kB / 1.094 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.9245, allocations: 59.62 kB / 1.094 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.9245, allocations: 41.61 kB / 1.094 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.9268, allocations: 1.162 MB / 1.096 GB, free: 27.16 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.007862/0.9347, allocations: 7.579 MB / 1.103 GB, free: 22.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/0.9356, allocations: 495.8 kB / 1.103 GB, free: 22.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/0.9363, allocations: 357.4 kB / 1.104 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/0.9371, allocations: 1.15 MB / 1.105 GB, free: 21.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.9371, allocations: 45.86 kB / 1.105 GB, free: 21.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.465e-06/0.9371, allocations: 1.25 kB / 1.105 GB, free: 21.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002107/0.9393, allocations: 1.024 MB / 1.106 GB, free: 21.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.9393, allocations: 55.53 kB / 1.106 GB, free: 21.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.9411, allocations: 1.73 MB / 1.108 GB, free: 21.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.9412, allocations: 44.11 kB / 1.108 GB, free: 21.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.9419, allocations: 0.9194 MB / 1.109 GB, free: 20.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.942, allocations: 218.8 kB / 1.109 GB, free: 20.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.9421, allocations: 18.91 kB / 1.109 GB, free: 20.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9422, allocations: 348.4 kB / 1.109 GB, free: 20.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.9428, allocations: 345 kB / 1.109 GB, free: 20.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.9436, allocations: 0.7089 MB / 1.11 GB, free: 19.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.9444, allocations: 474.4 kB / 1.111 GB, free: 19.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9444, allocations: 3.344 kB / 1.111 GB, free: 19.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001886/0.9463, allocations: 1.249 MB / 1.112 GB, free: 19.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.9463, allocations: 8.969 kB / 1.112 GB, free: 19.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.9463, allocations: 13.42 kB / 1.112 GB, free: 19.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.9464, allocations: 16.53 kB / 1.112 GB, free: 19.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.9474, allocations: 318.6 kB / 1.112 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.9475, allocations: 20.69 kB / 1.112 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.949, allocations: 248.9 kB / 1.112 GB, free: 19.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.9491, allocations: 54.7 kB / 1.112 GB, free: 19.58 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.0006198/0.9497, allocations: 435.1 kB / 1.113 GB, free: 19.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.9499, allocations: 193.7 kB / 1.113 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.9516, allocations: 0.9022 MB / 1.114 GB, free: 19.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.9516, allocations: 13.12 kB / 1.114 GB, free: 19.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9517, allocations: 0 / 1.114 GB, free: 19.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.9529, allocations: 0.8353 MB / 1.115 GB, free: 18.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.9567, allocations: 2.476 MB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.9567, allocations: 1.906 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.9575, allocations: 208.3 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.9575, allocations: 5.406 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.9575, allocations: 13.66 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9576, allocations: 4.125 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9576, allocations: 7.609 kB / 1.117 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.9598, allocations: 1.399 MB / 1.119 GB, free: 18.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007306/0.9605, allocations: 403.7 kB / 1.119 GB, free: 17.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.9607, allocations: 16 kB / 1.119 GB, free: 17.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.9618, allocations: 122.4 kB / 1.119 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.962, allocations: 55.34 kB / 1.119 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.766e-05/0.962, allocations: 38.06 kB / 1.119 GB, free: 17.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001663/0.9637, allocations: 1.185 MB / 1.121 GB, free: 17.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9637, allocations: 0 / 1.121 GB, free: 17.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001866/0.9656, allocations: 0.6331 MB / 1.121 GB, free: 17.72 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.003586/0.9692, allocations: 2.398 MB / 1.124 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.9709, allocations: 0.8508 MB / 1.124 GB, free: 16.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9709, allocations: 1.281 kB / 1.124 GB, free: 16.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.9716, allocations: 374.3 kB / 1.125 GB, free: 16.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/0.9776, allocations: 1.215 MB / 1.126 GB, free: 16.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.002, allocations: 11.09 MB / 1.137 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.003, allocations: 1.406 MB / 1.138 GB, free: 9.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002159/1.005, allocations: 383.3 kB / 1.138 GB, free: 9.352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.007, allocations: 0.7563 MB / 1.139 GB, free: 9.281 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.007, allocations: 4 kB / 1.139 GB, free: 9.277 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09053/1.097, allocations: 56.53 MB / 1.194 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.097, allocations: 244.9 kB / 1.195 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/4.622, allocations: 0 / 1.195 GB, free: 6.98 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)