Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.777/1.777, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001116/0.001116, allocations: 177 kB / 371.8 MB, free: 10.26 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.494/1.494, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009121/0.0009119, allocations: 98.86 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004115, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1966, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.214, allocations: 407.4 MB / 1.377 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.215, allocations: 96.7 kB / 1.377 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.775/2.99, allocations: 435.5 MB / 1.803 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.043e-06/2.99, allocations: 0 / 1.803 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001686/2.99, allocations: 36.2 kB / 1.803 GB, free: 206.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004202/2.994, allocations: 1.447 MB / 1.804 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/2.994, allocations: 13.77 kB / 1.804 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003014/2.994, allocations: 118 kB / 1.804 GB, free: 206 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/2.995, allocations: 140.5 kB / 1.804 GB, free: 206 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/3.021, allocations: 12.78 MB / 1.817 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/3.022, allocations: 61.88 kB / 1.817 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/3.022, allocations: 68.69 kB / 1.817 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/3.023, allocations: 0.7754 MB / 1.818 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/3.023, allocations: 3.969 kB / 1.818 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/3.023, allocations: 29.81 kB / 1.818 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/3.024, allocations: 18.59 kB / 1.818 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/3.025, allocations: 0.5661 MB / 1.818 GB, free: 205.2 MB / 0.9323 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.00431/3.029, allocations: 3.539 MB / 1.822 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/3.03, allocations: 370.9 kB / 1.822 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/3.03, allocations: 0.6624 MB / 1.823 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/3.03, allocations: 39.86 kB / 1.823 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/3.03, allocations: 0 / 1.823 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.00128/3.031, allocations: 0.5654 MB / 1.823 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/3.031, allocations: 62.02 kB / 1.823 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/3.033, allocations: 0.8098 MB / 1.824 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/3.033, allocations: 35.58 kB / 1.824 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/3.033, allocations: 0.4947 MB / 1.825 GB, free: 202 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/3.033, allocations: 117.7 kB / 1.825 GB, free: 202 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/3.033, allocations: 9.844 kB / 1.825 GB, free: 202 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/3.033, allocations: 332 kB / 1.825 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/3.034, allocations: 159.2 kB / 1.825 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/3.034, allocations: 380 kB / 1.826 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/3.035, allocations: 227.8 kB / 1.826 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/3.035, allocations: 1.125 kB / 1.826 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001194/3.036, allocations: 0.597 MB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/3.036, allocations: 7.25 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/3.036, allocations: 7.438 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/3.036, allocations: 8.719 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/3.036, allocations: 114.7 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/3.036, allocations: 13.41 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/3.037, allocations: 123.3 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/3.037, allocations: 29.2 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.0004491/3.038, allocations: 276 kB / 1.827 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/3.038, allocations: 95.34 kB / 1.827 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/3.039, allocations: 0.5042 MB / 1.828 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/3.039, allocations: 7.281 kB / 1.828 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/3.039, allocations: 0 / 1.828 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007104/3.04, allocations: 483.8 kB / 1.828 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/3.042, allocations: 1.462 MB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/3.042, allocations: 3.5 kB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/3.043, allocations: 85.67 kB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/3.043, allocations: 7.703 kB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/3.043, allocations: 7.531 kB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/3.043, allocations: 7 kB / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/3.043, allocations: 0 / 1.83 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/3.044, allocations: 0.8869 MB / 1.831 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/3.045, allocations: 246.6 kB / 1.831 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/3.045, allocations: 10 kB / 1.831 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/3.045, allocations: 65.95 kB / 1.831 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/3.046, allocations: 29.73 kB / 1.831 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/3.046, allocations: 18.95 kB / 1.831 GB, free: 200 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009073/3.047, allocations: 0.6471 MB / 1.832 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.6e-07/3.047, allocations: 0 / 1.832 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001343/3.048, allocations: 372.1 kB / 1.832 GB, free: 199.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002475/3.05, allocations: 2.206 MB / 1.834 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008815/3.051, allocations: 438.7 kB / 1.834 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/3.051, allocations: 0.875 kB / 1.834 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/3.052, allocations: 206.2 kB / 1.835 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/3.054, allocations: 0.6221 MB / 1.835 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/3.065, allocations: 8.755 MB / 1.844 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/3.065, allocations: 1.055 MB / 1.845 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001174/3.066, allocations: 203.6 kB / 1.845 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/3.067, allocations: 376.3 kB / 1.845 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/3.067, allocations: 0 / 1.845 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/3.115, allocations: 32.68 MB / 1.877 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/3.116, allocations: 242 kB / 1.878 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/5.952, allocations: 0 / 1.878 GB, free: 191.6 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)