Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.559/1.559, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.0009293/0.0009293, allocations: 183.7 kB / 372.9 MB, free: 10.16 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.319/1.319, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007481/0.0007481, allocations: 92.56 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005672, allocations: 16.08 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1965, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/0.9458, allocations: 407.4 MB / 1.379 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.9461, allocations: 98.95 kB / 1.379 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.557/2.503, allocations: 432.9 MB / 1.801 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/2.503, allocations: 0 / 1.801 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.944e-05/2.503, allocations: 26.8 kB / 1.801 GB, free: 206.3 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.002598/2.506, allocations: 1.442 MB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/2.506, allocations: 9.75 kB / 1.803 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/2.506, allocations: 136.7 kB / 1.803 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/2.527, allocations: 11.81 MB / 1.815 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/2.527, allocations: 61.3 kB / 1.815 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/2.528, allocations: 73.16 kB / 1.815 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/2.529, allocations: 0.7734 MB / 1.815 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/2.529, allocations: 13.09 kB / 1.815 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/2.529, allocations: 32.53 kB / 1.815 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/2.529, allocations: 18.34 kB / 1.815 GB, free: 205 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/2.53, allocations: 0.5592 MB / 1.816 GB, free: 205 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.003491/2.533, allocations: 3.533 MB / 1.819 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/2.534, allocations: 367.1 kB / 1.82 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/2.534, allocations: 197.6 kB / 1.82 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/2.535, allocations: 0.662 MB / 1.821 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/2.535, allocations: 36.75 kB / 1.821 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.905e-06/2.535, allocations: 0 / 1.821 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001171/2.536, allocations: 0.5668 MB / 1.821 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/2.536, allocations: 57.56 kB / 1.821 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/2.537, allocations: 0.9082 MB / 1.822 GB, free: 202 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/2.537, allocations: 36.11 kB / 1.822 GB, free: 202 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/2.538, allocations: 0.4912 MB / 1.823 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/2.538, allocations: 114.6 kB / 1.823 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/2.538, allocations: 9.094 kB / 1.823 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6e-05/2.538, allocations: 327.8 kB / 1.823 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/2.538, allocations: 158.6 kB / 1.823 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/2.539, allocations: 386.6 kB / 1.824 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/2.539, allocations: 0.5116 MB / 1.824 GB, free: 201 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/2.539, allocations: 1.312 kB / 1.824 GB, free: 201 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001082/2.54, allocations: 0.6026 MB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/2.54, allocations: 7.594 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/2.54, allocations: 8.125 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/2.54, allocations: 7.625 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/2.541, allocations: 122.5 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/2.541, allocations: 11.62 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/2.542, allocations: 107.2 kB / 1.825 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/2.542, allocations: 30.84 kB / 1.825 GB, free: 200.9 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.0003708/2.542, allocations: 269 kB / 1.825 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/2.543, allocations: 103.8 kB / 1.825 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009577/2.544, allocations: 0.5135 MB / 1.826 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/2.544, allocations: 10.67 kB / 1.826 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.544, allocations: 0 / 1.826 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007067/2.544, allocations: 485.5 kB / 1.826 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/2.546, allocations: 1.452 MB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/2.546, allocations: 2.312 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/2.547, allocations: 78.75 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/2.547, allocations: 2.188 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/2.547, allocations: 15.12 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/2.547, allocations: 6.156 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.547, allocations: 2.062 kB / 1.828 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/2.548, allocations: 0.8246 MB / 1.829 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/2.548, allocations: 236.7 kB / 1.829 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/2.548, allocations: 13.38 kB / 1.829 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/2.549, allocations: 60.17 kB / 1.829 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/2.549, allocations: 30.16 kB / 1.829 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/2.549, allocations: 19.73 kB / 1.829 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007796/2.55, allocations: 0.6343 MB / 1.83 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.55, allocations: 3.344 kB / 1.83 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001112/2.551, allocations: 357.2 kB / 1.83 GB, free: 199.6 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.0008365/2.552, allocations: 0.5525 MB / 1.831 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008656/2.553, allocations: 423.7 kB / 1.831 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.553, allocations: 3.156 kB / 1.831 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/2.553, allocations: 205 kB / 1.831 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/2.556, allocations: 0.6038 MB / 1.832 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/2.558, allocations: 1.965 MB / 1.834 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/2.559, allocations: 1.043 MB / 1.835 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007864/2.56, allocations: 201.5 kB / 1.835 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/2.56, allocations: 79.38 kB / 1.835 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of SimCode: time 7.51e-07/2.56, allocations: 0.5938 kB / 1.835 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.03357/2.593, allocations: 22.67 MB / 1.857 GB, free: 197.3 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)