Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.957 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.001024/0.001023, allocations: 172.8 kB / 316.3 MB, free: 3.25 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.98/1.98, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.001102/0.001102, allocations: 94.45 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.029e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.638/1.876, allocations: 405.9 MB / 1.282 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004173/1.877, allocations: 92.91 kB / 1.282 GB, free: 262.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.559/4.435, allocations: 0.7671 GB / 2.049 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/4.435, allocations: 2.156 kB / 2.049 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000191/4.436, allocations: 57.8 kB / 2.049 GB, free: 123.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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004183/4.44, allocations: 2.166 MB / 2.051 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/4.44, allocations: 11.69 kB / 2.051 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/4.441, allocations: 260.3 kB / 2.051 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04522/4.486, allocations: 23.44 MB / 2.074 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/4.486, allocations: 45.38 kB / 2.074 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/4.486, allocations: 86.25 kB / 2.074 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001583/4.488, allocations: 0.8661 MB / 2.075 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/4.49, allocations: 1.19 MB / 2.076 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/4.49, allocations: 3.891 kB / 2.076 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/4.49, allocations: 3.531 kB / 2.076 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/4.49, allocations: 39.56 kB / 2.076 GB, free: 121.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.008732/4.499, allocations: 7.239 MB / 2.083 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/4.499, allocations: 425.9 kB / 2.084 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/4.5, allocations: 273.6 kB / 2.084 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/4.5, allocations: 1.156 MB / 2.085 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/4.5, allocations: 45.89 kB / 2.085 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 2.995e-06/4.5, allocations: 0 / 2.085 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.001328/4.502, allocations: 0.6127 MB / 2.086 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/4.502, allocations: 59.66 kB / 2.086 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/4.503, allocations: 1.188 MB / 2.087 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/4.503, allocations: 29.67 kB / 2.087 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/4.504, allocations: 0.9415 MB / 2.088 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/4.504, allocations: 214.3 kB / 2.088 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/4.504, allocations: 3.172 kB / 2.088 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/4.504, allocations: 335.2 kB / 2.089 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/4.504, allocations: 220.4 kB / 2.089 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/4.505, allocations: 0.5836 MB / 2.089 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/4.505, allocations: 352.3 kB / 2.09 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/4.505, allocations: 3.75 kB / 2.09 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001565/4.507, allocations: 0.8845 MB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/4.507, allocations: 9.75 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/4.507, allocations: 11.5 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/4.507, allocations: 20.95 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/4.508, allocations: 230.8 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-05/4.508, allocations: 23.53 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/4.509, allocations: 166.9 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/4.509, allocations: 56.22 kB / 2.091 GB, free: 113.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001754/4.509, allocations: 137.4 kB / 2.091 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001125/4.511, allocations: 0.613 MB / 2.092 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/4.511, allocations: 166.7 kB / 2.092 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/4.512, allocations: 0.7267 MB / 2.093 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/4.512, allocations: 10.88 kB / 2.093 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/4.512, allocations: 0 / 2.093 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007945/4.513, allocations: 0.6822 MB / 2.093 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/4.517, allocations: 2.133 MB / 2.095 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/4.517, allocations: 0 / 2.095 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/4.517, allocations: 180.5 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/4.517, allocations: 6.375 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/4.517, allocations: 13.84 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/4.517, allocations: 6.938 kB / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/4.517, allocations: 0 / 2.096 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/4.519, allocations: 1.294 MB / 2.097 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/4.52, allocations: 368.9 kB / 2.097 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/4.52, allocations: 3.688 kB / 2.097 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/4.521, allocations: 115.3 kB / 2.097 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/4.521, allocations: 54.12 kB / 2.097 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/4.521, allocations: 33.89 kB / 2.097 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001193/4.522, allocations: 0.8902 MB / 2.098 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.522, allocations: 3.938 kB / 2.098 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002317/4.525, allocations: 0.7015 MB / 2.099 GB, free: 111.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003215/4.528, allocations: 3.21 MB / 2.102 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001/4.529, allocations: 0.6029 MB / 2.103 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/4.529, allocations: 3.688 kB / 2.103 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/4.529, allocations: 301 kB / 2.103 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/4.534, allocations: 0.9501 MB / 2.104 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/4.54, allocations: 2.719 MB / 2.107 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/4.54, allocations: 1.439 MB / 2.108 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001476/4.542, allocations: 329.8 kB / 2.108 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/4.543, allocations: 0.7405 MB / 2.109 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.904e-06/4.543, allocations: 0 / 2.109 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08131/4.624, allocations: 48.3 MB / 2.156 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/4.624, allocations: 193.8 kB / 2.156 GB, free: 85.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.496/8.12, allocations: 0 / 2.156 GB, free: 85.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)