Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001122/0.001122, allocations: 174.9 kB / 326.5 MB, free: 2.246 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.78/1.78, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.000985/0.000985, allocations: 93.09 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 12.75 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.116, allocations: 399.7 MB / 1.291 GB, free: 24 kB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.116, allocations: 94.58 kB / 1.291 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.172/2.288, allocations: 423.2 MB / 1.704 GB, free: 45.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/2.288, allocations: 4 kB / 1.704 GB, free: 45.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001352/2.288, allocations: 35.92 kB / 1.704 GB, free: 45.21 MB / 0.8855 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.002884/2.291, allocations: 1.453 MB / 1.705 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.291, allocations: 12.02 kB / 1.705 GB, free: 43.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/2.291, allocations: 114.5 kB / 1.705 GB, free: 43.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/2.292, allocations: 131.1 kB / 1.706 GB, free: 43.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02274/2.314, allocations: 12.44 MB / 1.718 GB, free: 30.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/2.315, allocations: 54 kB / 1.718 GB, free: 30.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/2.315, allocations: 72 kB / 1.718 GB, free: 30.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/2.316, allocations: 0.7671 MB / 1.719 GB, free: 29.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/2.316, allocations: 4 kB / 1.719 GB, free: 29.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/2.316, allocations: 28 kB / 1.719 GB, free: 29.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/2.316, allocations: 19.94 kB / 1.719 GB, free: 29.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/2.317, allocations: 0.5633 MB / 1.719 GB, free: 29.29 MB / 0.8855 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.003729/2.321, allocations: 3.533 MB / 1.723 GB, free: 25.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/2.321, allocations: 376.3 kB / 1.723 GB, free: 25.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/2.322, allocations: 0.6648 MB / 1.724 GB, free: 24.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/2.322, allocations: 46.52 kB / 1.724 GB, free: 24.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/2.322, allocations: 0 / 1.724 GB, free: 24.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001115/2.323, allocations: 0.5566 MB / 1.724 GB, free: 23.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/2.323, allocations: 55.41 kB / 1.724 GB, free: 23.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/2.324, allocations: 0.8148 MB / 1.725 GB, free: 22.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/2.324, allocations: 37.7 kB / 1.725 GB, free: 22.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/2.324, allocations: 0.4996 MB / 1.726 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/2.324, allocations: 110.4 kB / 1.726 GB, free: 22.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/2.324, allocations: 12 kB / 1.726 GB, free: 22.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/2.324, allocations: 322 kB / 1.726 GB, free: 21.81 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/2.325, allocations: 161 kB / 1.726 GB, free: 21.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/2.325, allocations: 386.5 kB / 1.727 GB, free: 21.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/2.325, allocations: 227.6 kB / 1.727 GB, free: 20.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.325, allocations: 0 / 1.727 GB, free: 20.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009348/2.326, allocations: 0.6014 MB / 1.727 GB, free: 20.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.326, allocations: 8.625 kB / 1.727 GB, free: 20.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.326, allocations: 4 kB / 1.727 GB, free: 20.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/2.326, allocations: 15.94 kB / 1.727 GB, free: 20.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/2.327, allocations: 120.2 kB / 1.728 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/2.327, allocations: 11.94 kB / 1.728 GB, free: 20.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/2.328, allocations: 115.2 kB / 1.728 GB, free: 20.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/2.328, allocations: 24 kB / 1.728 GB, free: 20.05 MB / 0.8855 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.0004428/2.328, allocations: 273.6 kB / 1.728 GB, free: 19.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/2.328, allocations: 94.88 kB / 1.728 GB, free: 19.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/2.329, allocations: 0.5145 MB / 1.729 GB, free: 19.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/2.329, allocations: 3.953 kB / 1.729 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.329, allocations: 4 kB / 1.729 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006883/2.33, allocations: 489.2 kB / 1.729 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/2.332, allocations: 1.443 MB / 1.73 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/2.332, allocations: 4 kB / 1.73 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/2.332, allocations: 83.88 kB / 1.73 GB, free: 17.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/2.332, allocations: 7.938 kB / 1.73 GB, free: 17.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/2.332, allocations: 8 kB / 1.731 GB, free: 17.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/2.332, allocations: 4 kB / 1.731 GB, free: 17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/2.332, allocations: 0 / 1.731 GB, free: 17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/2.334, allocations: 0.8976 MB / 1.731 GB, free: 16.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/2.334, allocations: 247.7 kB / 1.732 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/2.334, allocations: 8 kB / 1.732 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/2.335, allocations: 55.94 kB / 1.732 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/2.335, allocations: 27.97 kB / 1.732 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/2.335, allocations: 19.98 kB / 1.732 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008297/2.336, allocations: 0.6508 MB / 1.732 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/2.336, allocations: 0 / 1.732 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001175/2.337, allocations: 363.4 kB / 1.733 GB, free: 14.67 MB / 0.8855 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.002493/2.34, allocations: 2.215 MB / 1.735 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009621/2.341, allocations: 424 kB / 1.735 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.341, allocations: 0 / 1.735 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/2.341, allocations: 204.6 kB / 1.735 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/2.344, allocations: 0.6205 MB / 1.736 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/2.357, allocations: 8.76 MB / 1.745 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/2.357, allocations: 1.056 MB / 1.746 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001526/2.359, allocations: 208.5 kB / 1.746 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/2.36, allocations: 367.2 kB / 1.746 GB, free: 452 kB / 0.8855 GB Notification: Performance of SimCode: time 1.473e-06/2.36, allocations: 0 / 1.746 GB, free: 452 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5031/2.863, allocations: 32.55 MB / 1.778 GB, free: 189 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/2.863, allocations: 237.6 kB / 1.778 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/5.769, allocations: 1.219 kB / 1.778 GB, free: 188.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)