Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001239/0.001239, allocations: 181.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008549/0.0008549, allocations: 90.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 12.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04888/0.2861, allocations: 64.42 MB / 0.9631 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.3114, allocations: 16.05 MB / 0.9787 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.3156, allocations: 83.38 kB / 0.9788 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004589/0.3203, allocations: 1.178 MB / 0.98 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.3341, allocations: 3.45 MB / 0.9833 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008048/0.3422, allocations: 2.177 MB / 0.9855 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009244/0.3514, allocations: 3.826 MB / 0.9892 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.3544, allocations: 1.453 MB / 0.9906 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.3583, allocations: 1.631 MB / 0.9922 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.3604, allocations: 1.073 MB / 0.9933 GB, free: 300 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.3606, allocations: 76 kB / 0.9933 GB, free: 224 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/0.3643, allocations: 1.014 MB / 0.9943 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.3647, allocations: 366.4 kB / 0.9947 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.3655, allocations: 496.5 kB / 0.9951 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.3691, allocations: 2.611 MB / 0.9977 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3691, allocations: 3.938 kB / 0.9977 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3691, allocations: 0 / 0.9977 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.3691, allocations: 0 / 0.9977 GB, free: 11.73 MB / 0.6511 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.004163/0.3733, allocations: 2.311 MB / 0.9999 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3734, allocations: 12.03 kB / 1 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/0.3736, allocations: 198.6 kB / 1 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.3742, allocations: 269.1 kB / 1 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.3772, allocations: 1.747 MB / 1.002 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.3773, allocations: 110.7 kB / 1.002 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.3775, allocations: 144 kB / 1.002 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.3801, allocations: 1.509 MB / 1.004 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3801, allocations: 0 / 1.004 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3802, allocations: 63.95 kB / 1.004 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.3803, allocations: 36 kB / 1.004 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.3825, allocations: 1.158 MB / 1.005 GB, free: 3.98 MB / 0.6511 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.009105/0.3916, allocations: 7.614 MB / 1.012 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.3926, allocations: 0.4888 MB / 1.013 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.3935, allocations: 1.148 MB / 1.014 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3936, allocations: 43.12 kB / 1.014 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.216e-06/0.3936, allocations: 0 / 1.014 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.002328/0.3959, allocations: 1.024 MB / 1.015 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.396, allocations: 55.97 kB / 1.015 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.3983, allocations: 1.813 MB / 1.017 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.3984, allocations: 41.7 kB / 1.017 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/0.3993, allocations: 0.9198 MB / 1.018 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.3995, allocations: 220.9 kB / 1.018 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3996, allocations: 20 kB / 1.018 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3997, allocations: 353.9 kB / 1.018 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.4004, allocations: 346.4 kB / 1.019 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000963/0.4014, allocations: 0.7055 MB / 1.019 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.4023, allocations: 470.7 kB / 1.02 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.4023, allocations: 4 kB / 1.02 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002419/0.4047, allocations: 1.253 MB / 1.021 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4048, allocations: 14.19 kB / 1.021 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4048, allocations: 8 kB / 1.021 GB, free: 2.379 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.4048, allocations: 20 kB / 1.021 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4058, allocations: 311.6 kB / 1.021 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.4059, allocations: 27.86 kB / 1.022 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4075, allocations: 254.3 kB / 1.022 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.4076, allocations: 48 kB / 1.022 GB, free: 1.73 MB / 0.6667 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.0008121/0.4084, allocations: 441.9 kB / 1.022 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.4087, allocations: 189.8 kB / 1.022 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4104, allocations: 0.9074 MB / 1.023 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4105, allocations: 4 kB / 1.023 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4105, allocations: 3.984 kB / 1.023 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.4119, allocations: 0.8347 MB / 1.024 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.4161, allocations: 2.494 MB / 1.027 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4162, allocations: 4.062 kB / 1.027 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.417, allocations: 211.7 kB / 1.027 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.417, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.417, allocations: 19.98 kB / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.417, allocations: 4 kB / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4171, allocations: 7.953 kB / 1.027 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.4196, allocations: 1.539 MB / 1.028 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.4205, allocations: 426.2 kB / 1.029 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.4207, allocations: 12 kB / 1.029 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.4218, allocations: 116.9 kB / 1.029 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4219, allocations: 60.42 kB / 1.029 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.422, allocations: 31.98 kB / 1.029 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001864/0.4238, allocations: 1.258 MB / 1.03 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.629e-06/0.4239, allocations: 0 / 1.03 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001919/0.4258, allocations: 0.6628 MB / 1.031 GB, free: 8.223 MB / 0.6823 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.004176/0.43, allocations: 3.075 MB / 1.034 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.4318, allocations: 0.855 MB / 1.035 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4318, allocations: 0 / 1.035 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.4326, allocations: 372.1 kB / 1.035 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/0.4381, allocations: 1.211 MB / 1.036 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.4481, allocations: 11.51 MB / 1.047 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.4492, allocations: 1.447 MB / 1.049 GB, free: 5.371 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00185/0.4511, allocations: 384.5 kB / 1.049 GB, free: 4.992 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009797/0.452, allocations: 0.7492 MB / 1.05 GB, free: 4.242 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/0.4521, allocations: 0 / 1.05 GB, free: 4.242 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5395/0.9915, allocations: 56.42 MB / 1.105 GB, free: 115.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.9918, allocations: 245.6 kB / 1.105 GB, free: 115.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.072/5.064, allocations: 4 kB / 1.105 GB, free: 115.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)