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.758/1.758, allocations: 288.3 MB / 303.2 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.001186/0.001186, allocations: 185 kB / 371.8 MB, free: 10.26 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.576/1.576, allocations: 205.4 MB / 0.6306 GB, free: 9.957 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.0009814/0.0009816, allocations: 105.7 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 16.72 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03366/0.2785, allocations: 34.8 MB / 1.013 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2925, allocations: 8.865 MB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.2953, allocations: 43.69 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.2978, allocations: 0.6142 MB / 1.023 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007831/0.3057, allocations: 1.776 MB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005686/0.3114, allocations: 1.366 MB / 1.026 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005176/0.3166, allocations: 1.953 MB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.3186, allocations: 0.7458 MB / 1.028 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3212, allocations: 0.8874 MB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.3226, allocations: 0.5482 MB / 1.03 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.323, allocations: 36 kB / 1.03 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3253, allocations: 0.5422 MB / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.3258, allocations: 195.2 kB / 1.031 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.3265, allocations: 257.1 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.329, allocations: 1.36 MB / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.329, allocations: 0 / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.434e-06/0.329, allocations: 0 / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.108e-05/0.3291, allocations: 0 / 1.032 GB, free: 5.586 MB / 0.6511 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.003102/0.3322, allocations: 1.309 MB / 1.033 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3323, allocations: 8.031 kB / 1.033 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.3328, allocations: 138.5 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.3352, allocations: 0.9592 MB / 1.034 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.3353, allocations: 57.95 kB / 1.035 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3355, allocations: 72 kB / 1.035 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3371, allocations: 0.7944 MB / 1.035 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3372, allocations: 0 / 1.035 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.3372, allocations: 28 kB / 1.035 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.3373, allocations: 31.92 kB / 1.035 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3386, allocations: 0.5789 MB / 1.036 GB, free: 1.484 MB / 0.6511 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.004705/0.3433, allocations: 3.579 MB / 1.04 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.3439, allocations: 278.5 kB / 1.04 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.3444, allocations: 0.657 MB / 1.04 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.3445, allocations: 38.56 kB / 1.04 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.3445, allocations: 4 kB / 1.04 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001277/0.3458, allocations: 0.5358 MB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3459, allocations: 55.41 kB / 1.041 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3472, allocations: 0.9644 MB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.3473, allocations: 33.7 kB / 1.042 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.3477, allocations: 0.4918 MB / 1.042 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3479, allocations: 114.4 kB / 1.043 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.3479, allocations: 8 kB / 1.043 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.348, allocations: 325.9 kB / 1.043 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.3484, allocations: 181 kB / 1.043 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.349, allocations: 356 kB / 1.043 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3494, allocations: 235.7 kB / 1.044 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3494, allocations: 4 kB / 1.044 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001172/0.3506, allocations: 0.6177 MB / 1.044 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3507, allocations: 12.06 kB / 1.044 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3507, allocations: 8 kB / 1.044 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3507, allocations: 8 kB / 1.044 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.3512, allocations: 131.7 kB / 1.044 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.3512, allocations: 8 kB / 1.044 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.3521, allocations: 127.1 kB / 1.045 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.3522, allocations: 28 kB / 1.045 GB, free: 8.188 MB / 0.6667 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 (65): * Single equations (assignments): 65 * 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.0004823/0.3526, allocations: 274.7 kB / 1.045 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.3528, allocations: 98.78 kB / 1.045 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.3539, allocations: 0.5036 MB / 1.045 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3539, allocations: 0 / 1.045 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.354, allocations: 4 kB / 1.045 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007269/0.3547, allocations: 468.9 kB / 1.046 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.3571, allocations: 1.401 MB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3572, allocations: 0 / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.3575, allocations: 87.98 kB / 1.047 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3575, allocations: 4 kB / 1.047 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.3576, allocations: 11.98 kB / 1.047 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.3576, allocations: 7.953 kB / 1.047 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3576, allocations: 4 kB / 1.047 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.359, allocations: 0.8477 MB / 1.048 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.3595, allocations: 255.7 kB / 1.048 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.3597, allocations: 8 kB / 1.048 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.3605, allocations: 56 kB / 1.048 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.3606, allocations: 27.92 kB / 1.048 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.3606, allocations: 19.98 kB / 1.049 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001156/0.3618, allocations: 0.6704 MB / 1.049 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3618, allocations: 0 / 1.049 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001223/0.363, allocations: 347.3 kB / 1.05 GB, free: 2.922 MB / 0.6667 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.0009551/0.364, allocations: 396.9 kB / 1.05 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.365, allocations: 437.1 kB / 1.05 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.365, allocations: 384 / 1.05 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.3655, allocations: 200.2 kB / 1.05 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.3686, allocations: 0.5916 MB / 1.051 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.3722, allocations: 1.946 MB / 1.053 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009511/0.3732, allocations: 1.059 MB / 1.054 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001003/0.3742, allocations: 196.4 kB / 1.054 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3744, allocations: 79.42 kB / 1.054 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.3744, allocations: 0 / 1.054 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.4954/0.8698, allocations: 20.22 MB / 1.074 GB, free: 83 MB / 0.6823 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)