Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001167/0.001167, allocations: 183.7 kB / 371.6 MB, free: 3.414 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.657/1.657, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009455/0.0009456, allocations: 90.72 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.484e-05/5.496e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.532, allocations: 408.3 MB / 1.379 GB, free: 4.797 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.532, allocations: 95.53 kB / 1.379 GB, free: 4.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.238/3.771, allocations: 434.2 MB / 1.803 GB, free: 184.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.076e-06/3.771, allocations: 0 / 1.803 GB, free: 184.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002269/3.771, allocations: 28.36 kB / 1.803 GB, free: 184.9 MB / 0.948 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.003733/3.775, allocations: 1.256 MB / 1.804 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/3.775, allocations: 6.375 kB / 1.804 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/3.775, allocations: 116.1 kB / 1.804 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/3.775, allocations: 126.5 kB / 1.804 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02944/3.805, allocations: 12.71 MB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/3.805, allocations: 59.81 kB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/3.805, allocations: 76.56 kB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/3.807, allocations: 0.7262 MB / 1.817 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/3.807, allocations: 3.25 kB / 1.817 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/3.808, allocations: 27.62 kB / 1.817 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/3.808, allocations: 19.28 kB / 1.817 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/3.809, allocations: 495.5 kB / 1.818 GB, free: 183.6 MB / 0.948 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.004743/3.813, allocations: 3.543 MB / 1.821 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/3.814, allocations: 332.9 kB / 1.822 GB, free: 181.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/3.814, allocations: 157.9 kB / 1.822 GB, free: 181.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/3.815, allocations: 0.6598 MB / 1.823 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/3.815, allocations: 48.5 kB / 1.823 GB, free: 180.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/3.815, allocations: 2.719 kB / 1.823 GB, free: 180.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0007455/3.816, allocations: 366 kB / 1.823 GB, free: 180.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/3.816, allocations: 57.53 kB / 1.823 GB, free: 180.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/3.817, allocations: 0.807 MB / 1.824 GB, free: 180.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/3.817, allocations: 37.89 kB / 1.824 GB, free: 180.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/3.817, allocations: 497.3 kB / 1.824 GB, free: 180.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/3.817, allocations: 118 kB / 1.824 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/3.817, allocations: 9.531 kB / 1.824 GB, free: 180.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/3.817, allocations: 322.4 kB / 1.825 GB, free: 180 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/3.818, allocations: 128.4 kB / 1.825 GB, free: 180 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/3.818, allocations: 341.6 kB / 1.825 GB, free: 179.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/3.818, allocations: 194 kB / 1.825 GB, free: 179.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/3.818, allocations: 0 / 1.825 GB, free: 179.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008049/3.819, allocations: 0.5289 MB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/3.819, allocations: 6 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/3.819, allocations: 6.469 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/3.819, allocations: 13.59 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/3.82, allocations: 119.9 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/3.82, allocations: 16.62 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/3.821, allocations: 113.4 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/3.821, allocations: 30.83 kB / 1.826 GB, free: 179.7 MB / 0.948 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.0001332/3.821, allocations: 134.7 kB / 1.826 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/3.821, allocations: 104.4 kB / 1.826 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/3.822, allocations: 443.9 kB / 1.827 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/3.822, allocations: 10.28 kB / 1.827 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/3.822, allocations: 0 / 1.827 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004806/3.822, allocations: 414.6 kB / 1.827 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/3.824, allocations: 1.391 MB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/3.824, allocations: 3.25 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/3.825, allocations: 84.86 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/3.825, allocations: 3 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/3.825, allocations: 9.312 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/3.825, allocations: 6.781 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.825, allocations: 2.969 kB / 1.829 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/3.826, allocations: 0.785 MB / 1.829 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/3.826, allocations: 246.5 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/3.826, allocations: 6.906 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/3.827, allocations: 57.02 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/3.827, allocations: 26.58 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/3.827, allocations: 19.98 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007663/3.828, allocations: 0.6425 MB / 1.83 GB, free: 178.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/3.828, allocations: 0 / 1.83 GB, free: 178.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00134/3.829, allocations: 367.5 kB / 1.831 GB, free: 178.3 MB / 0.948 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.002233/3.831, allocations: 2.12 MB / 1.833 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000696/3.832, allocations: 362.2 kB / 1.833 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/3.832, allocations: 2.531 kB / 1.833 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/3.832, allocations: 171.7 kB / 1.833 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/3.835, allocations: 0.5947 MB / 1.834 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/3.838, allocations: 1.451 MB / 1.835 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/3.839, allocations: 1.064 MB / 1.836 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009879/3.84, allocations: 200.3 kB / 1.837 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/3.84, allocations: 374.3 kB / 1.837 GB, free: 175.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.973e-06/3.84, allocations: 0 / 1.837 GB, free: 175.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/3.923, allocations: 32.85 MB / 1.869 GB, free: 175 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/3.923, allocations: 198 kB / 1.869 GB, free: 174.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/7.174, allocations: 0 / 1.869 GB, free: 174.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)