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.561/1.561, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000944/0.0009441, allocations: 94.98 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.089e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.756, allocations: 399.7 MB / 1.282 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/1.757, allocations: 91.78 kB / 1.282 GB, free: 323.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/3.273, allocations: 421.9 MB / 1.694 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.976e-06/3.273, allocations: 0 / 1.694 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001468/3.273, allocations: 28.23 kB / 1.694 GB, free: 195.7 MB / 0.8698 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.003544/3.276, allocations: 1.261 MB / 1.696 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/3.276, allocations: 10.84 kB / 1.696 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/3.277, allocations: 113.7 kB / 1.696 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/3.277, allocations: 131.1 kB / 1.696 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02533/3.302, allocations: 12.36 MB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/3.303, allocations: 54.12 kB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/3.303, allocations: 70.88 kB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/3.304, allocations: 0.721 MB / 1.709 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/3.304, allocations: 3 kB / 1.709 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/3.304, allocations: 29.94 kB / 1.709 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/3.304, allocations: 21.25 kB / 1.709 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/3.305, allocations: 493.2 kB / 1.709 GB, free: 194.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004316/3.31, allocations: 3.533 MB / 1.713 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/3.31, allocations: 324.8 kB / 1.713 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/3.31, allocations: 159.7 kB / 1.713 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/3.311, allocations: 0.6642 MB / 1.714 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/3.311, allocations: 38.3 kB / 1.714 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/3.311, allocations: 0 / 1.714 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.000695/3.312, allocations: 379.7 kB / 1.714 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/3.312, allocations: 59.5 kB / 1.714 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/3.313, allocations: 0.8125 MB / 1.715 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/3.313, allocations: 31.23 kB / 1.715 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/3.313, allocations: 0.499 MB / 1.716 GB, free: 191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/3.313, allocations: 106.6 kB / 1.716 GB, free: 191 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/3.313, allocations: 8.781 kB / 1.716 GB, free: 191 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/3.313, allocations: 329.2 kB / 1.716 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/3.314, allocations: 122.7 kB / 1.716 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/3.314, allocations: 348.3 kB / 1.716 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/3.314, allocations: 192 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/3.314, allocations: 0 / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007098/3.315, allocations: 0.5276 MB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/3.315, allocations: 13.48 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/3.315, allocations: 3.719 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/3.315, allocations: 19.33 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/3.315, allocations: 118.6 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/3.315, allocations: 10.44 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/3.316, allocations: 113.6 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/3.316, allocations: 26.91 kB / 1.717 GB, free: 190.3 MB / 0.8698 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 () * 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.0001093/3.316, allocations: 139.6 kB / 1.718 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/3.316, allocations: 94.12 kB / 1.718 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/3.317, allocations: 457 kB / 1.718 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/3.317, allocations: 3.953 kB / 1.718 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/3.317, allocations: 6.281 kB / 1.718 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004321/3.318, allocations: 410.3 kB / 1.718 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/3.32, allocations: 1.388 MB / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.32, allocations: 0 / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/3.32, allocations: 78.14 kB / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/3.32, allocations: 0 / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/3.32, allocations: 11.64 kB / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/3.32, allocations: 6.531 kB / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/3.32, allocations: 3.375 kB / 1.72 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/3.321, allocations: 0.7802 MB / 1.721 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/3.322, allocations: 252.3 kB / 1.721 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/3.322, allocations: 14.23 kB / 1.721 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/3.322, allocations: 51.83 kB / 1.721 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/3.322, allocations: 26.83 kB / 1.721 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/3.323, allocations: 19.31 kB / 1.721 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008536/3.323, allocations: 0.6394 MB / 1.722 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.4e-07/3.323, allocations: 0 / 1.722 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001287/3.325, allocations: 368.6 kB / 1.722 GB, free: 188.2 MB / 0.8698 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 () * 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.002332/3.327, allocations: 2.105 MB / 1.724 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006587/3.328, allocations: 357.8 kB / 1.724 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/3.328, allocations: 3.375 kB / 1.724 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/3.328, allocations: 172.9 kB / 1.725 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/3.331, allocations: 0.607 MB / 1.725 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/3.334, allocations: 1.438 MB / 1.727 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/3.335, allocations: 1.065 MB / 1.728 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008323/3.335, allocations: 199.8 kB / 1.728 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/3.336, allocations: 369.6 kB / 1.728 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/3.336, allocations: 0 / 1.728 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/3.395, allocations: 32.72 MB / 1.76 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/3.395, allocations: 214.3 kB / 1.76 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/6.372, allocations: 0 / 1.76 GB, free: 175.9 MB / 0.8698 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)