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.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.848 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.001027/0.001027, allocations: 180.5 kB / 316.3 MB, free: 3.309 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.858/1.858, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001006/0.001006, allocations: 104.6 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.06e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2877, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.739/2.027, allocations: 400 MB / 1.276 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/2.027, allocations: 94.84 kB / 1.276 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/3.479, allocations: 419.4 MB / 1.686 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/3.479, allocations: 0 / 1.686 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001582/3.479, allocations: 29.95 kB / 1.686 GB, free: 198.9 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.002954/3.482, allocations: 1.258 MB / 1.687 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/3.482, allocations: 10.28 kB / 1.687 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006818/3.482, allocations: 134.3 kB / 1.687 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/3.507, allocations: 12.31 MB / 1.699 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/3.507, allocations: 25.34 kB / 1.699 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/3.507, allocations: 43.31 kB / 1.699 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/3.508, allocations: 457.5 kB / 1.7 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/3.51, allocations: 0.6143 MB / 1.7 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/3.51, allocations: 0 / 1.7 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/3.51, allocations: 11.23 kB / 1.7 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/3.51, allocations: 22.38 kB / 1.7 GB, free: 197.4 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.00424/3.514, allocations: 3.367 MB / 1.703 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/3.515, allocations: 320.4 kB / 1.704 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/3.515, allocations: 153.2 kB / 1.704 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004309/3.515, allocations: 0.6664 MB / 1.705 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/3.515, allocations: 33.47 kB / 1.705 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/3.515, allocations: 3.969 kB / 1.705 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008856/3.516, allocations: 352.7 kB / 1.705 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/3.516, allocations: 62.53 kB / 1.705 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/3.517, allocations: 0.63 MB / 1.706 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/3.517, allocations: 32.36 kB / 1.706 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/3.518, allocations: 0.4952 MB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/3.518, allocations: 114 kB / 1.706 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/3.518, allocations: 0 / 1.706 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/3.518, allocations: 328.5 kB / 1.707 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/3.518, allocations: 114.2 kB / 1.707 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/3.518, allocations: 332.5 kB / 1.707 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/3.519, allocations: 191.6 kB / 1.707 GB, free: 193 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/3.519, allocations: 3.141 kB / 1.707 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008696/3.519, allocations: 492.2 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/3.52, allocations: 7.094 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/3.52, allocations: 7.281 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/3.52, allocations: 7.125 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/3.52, allocations: 120.8 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/3.52, allocations: 15.56 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/3.521, allocations: 79.98 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/3.521, allocations: 24.44 kB / 1.708 GB, free: 192.8 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.0001152/3.521, allocations: 122.6 kB / 1.708 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006274/3.522, allocations: 347.1 kB / 1.708 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/3.522, allocations: 84.38 kB / 1.708 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/3.522, allocations: 415.6 kB / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/3.523, allocations: 7.828 kB / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/3.523, allocations: 0 / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004797/3.523, allocations: 406.8 kB / 1.709 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/3.525, allocations: 1.262 MB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/3.525, allocations: 2.875 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/3.525, allocations: 88.75 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/3.525, allocations: 3.703 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/3.525, allocations: 6.625 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/3.525, allocations: 2.938 kB / 1.71 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/3.525, allocations: 3.719 kB / 1.711 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/3.526, allocations: 0.7366 MB / 1.711 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/3.527, allocations: 226.2 kB / 1.711 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/3.527, allocations: 7.891 kB / 1.711 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/3.527, allocations: 45.72 kB / 1.711 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/3.528, allocations: 28.23 kB / 1.712 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/3.528, allocations: 14.12 kB / 1.712 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006275/3.528, allocations: 0.4928 MB / 1.712 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.2e-07/3.528, allocations: 0 / 1.712 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001314/3.53, allocations: 370.6 kB / 1.712 GB, free: 190.4 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.002105/3.532, allocations: 2.086 MB / 1.714 GB, free: 189 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005827/3.532, allocations: 329.4 kB / 1.715 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/3.532, allocations: 0 / 1.715 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/3.532, allocations: 165.4 kB / 1.715 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/3.535, allocations: 486.9 kB / 1.715 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/3.538, allocations: 1.382 MB / 1.717 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/3.538, allocations: 1.055 MB / 1.718 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007704/3.539, allocations: 175.3 kB / 1.718 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/3.54, allocations: 355.5 kB / 1.718 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/3.54, allocations: 0 / 1.718 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/3.59, allocations: 25.1 MB / 1.743 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/3.591, allocations: 192.5 kB / 1.743 GB, free: 180 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/6.19, allocations: 0 / 1.743 GB, free: 180 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)