Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.662/2.662, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001568/0.001567, allocations: 182.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.6295 GB, free: 10.5 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.001176/0.001176, allocations: 99.2 kB / 0.7428 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006354, allocations: 13.53 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2135, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.484, allocations: 407.2 MB / 1.376 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.484, allocations: 97.33 kB / 1.376 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.74/4.224, allocations: 435.5 MB / 1.801 GB, free: 206.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.914e-06/4.224, allocations: 2.719 kB / 1.801 GB, free: 206.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001457/4.224, allocations: 30.17 kB / 1.801 GB, free: 206.4 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.004861/4.229, allocations: 1.454 MB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/4.229, allocations: 8.875 kB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003578/4.23, allocations: 114.6 kB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/4.23, allocations: 137.8 kB / 1.803 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0417/4.272, allocations: 12.8 MB / 1.816 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/4.272, allocations: 56.22 kB / 1.816 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/4.272, allocations: 69.28 kB / 1.816 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/4.274, allocations: 0.7723 MB / 1.816 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/4.275, allocations: 1.031 kB / 1.816 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/4.275, allocations: 29.84 kB / 1.816 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/4.275, allocations: 19.03 kB / 1.816 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/4.276, allocations: 0.5641 MB / 1.817 GB, free: 205.1 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.005783/4.282, allocations: 3.548 MB / 1.82 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/4.283, allocations: 368.6 kB / 1.821 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/4.284, allocations: 0.6624 MB / 1.821 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/4.284, allocations: 40.48 kB / 1.821 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.276e-06/4.284, allocations: 2.938 kB / 1.821 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.002053/4.286, allocations: 0.5578 MB / 1.822 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/4.286, allocations: 55.31 kB / 1.822 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/4.288, allocations: 0.8162 MB / 1.823 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.484e-05/4.288, allocations: 33.11 kB / 1.823 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/4.288, allocations: 0.498 MB / 1.823 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/4.288, allocations: 115.9 kB / 1.824 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/4.288, allocations: 8.75 kB / 1.824 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/4.288, allocations: 328.8 kB / 1.824 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/4.289, allocations: 162.5 kB / 1.824 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/4.29, allocations: 381.8 kB / 1.824 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/4.291, allocations: 230.6 kB / 1.825 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/4.291, allocations: 1.094 kB / 1.825 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001915/4.293, allocations: 0.5933 MB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/4.293, allocations: 6.062 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/4.293, allocations: 8.562 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/4.293, allocations: 8.875 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/4.293, allocations: 114.4 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/4.293, allocations: 22.86 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/4.295, allocations: 113.5 kB / 1.825 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/4.295, allocations: 30.98 kB / 1.825 GB, free: 201.2 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.0006549/4.296, allocations: 270.8 kB / 1.826 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/4.296, allocations: 98.58 kB / 1.826 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/4.298, allocations: 0.5166 MB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/4.298, allocations: 4.156 kB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/4.298, allocations: 2.531 kB / 1.826 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/4.299, allocations: 481.9 kB / 1.827 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/4.302, allocations: 1.461 MB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/4.303, allocations: 8.203 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/4.303, allocations: 80.2 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/4.303, allocations: 2.719 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/4.303, allocations: 8.656 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/4.303, allocations: 5.281 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/4.303, allocations: 1.5 kB / 1.828 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/4.306, allocations: 0.8879 MB / 1.829 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/4.306, allocations: 240.1 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/4.307, allocations: 18.11 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/4.308, allocations: 63.39 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/4.308, allocations: 25.36 kB / 1.829 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/4.308, allocations: 18.17 kB / 1.83 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001386/4.309, allocations: 0.6487 MB / 1.83 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.8e-07/4.309, allocations: 0 / 1.83 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001962/4.311, allocations: 369 kB / 1.83 GB, free: 199.8 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.003947/4.315, allocations: 2.215 MB / 1.833 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001474/4.317, allocations: 435 kB / 1.833 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/4.317, allocations: 2.406 kB / 1.833 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/4.317, allocations: 206.3 kB / 1.833 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005399/4.323, allocations: 0.6091 MB / 1.834 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/4.337, allocations: 8.765 MB / 1.842 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/4.338, allocations: 1.054 MB / 1.843 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001464/4.34, allocations: 202.6 kB / 1.844 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/4.34, allocations: 373.7 kB / 1.844 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.513e-06/4.34, allocations: 0 / 1.844 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08404/4.425, allocations: 32.67 MB / 1.876 GB, free: 191.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/4.425, allocations: 235 kB / 1.876 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/8.036, allocations: 0 / 1.876 GB, free: 191.5 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)