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.799/1.799, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001019/0.001019, allocations: 173.4 kB / 372 MB, free: 10.27 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.413/1.413, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007991/0.0007991, allocations: 93.3 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 16.36 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0302/0.2483, allocations: 38.32 MB / 1.017 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.2626, allocations: 9.654 MB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.2647, allocations: 43.69 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.2662, allocations: 477 kB / 1.027 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.2708, allocations: 1.459 MB / 1.028 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.2735, allocations: 0.874 MB / 1.029 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004651/0.2782, allocations: 3.835 MB / 1.033 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.2794, allocations: 0.7456 MB / 1.034 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.2821, allocations: 0.9916 MB / 1.035 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.2837, allocations: 0.8088 MB / 1.035 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2838, allocations: 36 kB / 1.035 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.2857, allocations: 0.4909 MB / 1.036 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.2859, allocations: 203.1 kB / 1.036 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.2863, allocations: 253.1 kB / 1.036 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.2879, allocations: 1.372 MB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2879, allocations: 0 / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.053e-06/0.288, allocations: 3.938 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.288, allocations: 4 kB / 1.038 GB, free: 15.98 MB / 0.6667 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.002317/0.2903, allocations: 1.308 MB / 1.039 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2904, allocations: 8.031 kB / 1.039 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.2907, allocations: 130.5 kB / 1.039 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.2924, allocations: 1.026 MB / 1.04 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.2924, allocations: 57.95 kB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2925, allocations: 76 kB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2939, allocations: 0.7983 MB / 1.041 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.294, allocations: 3.906 kB / 1.041 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.294, allocations: 32 kB / 1.041 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.2941, allocations: 20 kB / 1.041 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.2952, allocations: 0.5867 MB / 1.042 GB, free: 11.82 MB / 0.6667 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.004036/0.2993, allocations: 3.536 MB / 1.045 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.2999, allocations: 280.4 kB / 1.045 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.3002, allocations: 188.8 kB / 1.046 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/0.3008, allocations: 0.657 MB / 1.046 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3008, allocations: 34.56 kB / 1.046 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.256e-06/0.3008, allocations: 0 / 1.046 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001165/0.302, allocations: 0.5444 MB / 1.047 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.302, allocations: 55.41 kB / 1.047 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3031, allocations: 0.9214 MB / 1.048 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.3032, allocations: 33.7 kB / 1.048 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.3036, allocations: 495.6 kB / 1.048 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3037, allocations: 114.4 kB / 1.048 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.3037, allocations: 12 kB / 1.048 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3039, allocations: 329.9 kB / 1.049 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.3043, allocations: 173 kB / 1.049 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3048, allocations: 362.8 kB / 1.049 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.3052, allocations: 231.8 kB / 1.049 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3052, allocations: 7.938 kB / 1.049 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001105/0.3064, allocations: 0.6289 MB / 1.05 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3064, allocations: 8 kB / 1.05 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3064, allocations: 4.438 kB / 1.05 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3064, allocations: 12 kB / 1.05 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.3069, allocations: 127.8 kB / 1.05 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.3069, allocations: 11.98 kB / 1.05 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.3077, allocations: 107.2 kB / 1.05 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.3077, allocations: 31.92 kB / 1.05 GB, free: 2.426 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.0003887/0.3081, allocations: 283.3 kB / 1.051 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3083, allocations: 98.78 kB / 1.051 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000982/0.3093, allocations: 0.5062 MB / 1.051 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3093, allocations: 8 kB / 1.051 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3093, allocations: 0 / 1.051 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007278/0.31, allocations: 476.8 kB / 1.052 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3121, allocations: 1.378 MB / 1.053 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3121, allocations: 0 / 1.053 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.3125, allocations: 83.88 kB / 1.053 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3125, allocations: 0 / 1.053 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3125, allocations: 12.16 kB / 1.053 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3125, allocations: 11.95 kB / 1.053 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3126, allocations: 4 kB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3138, allocations: 0.7814 MB / 1.054 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.3141, allocations: 243.7 kB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3143, allocations: 8 kB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.3148, allocations: 59.91 kB / 1.054 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.3149, allocations: 31.86 kB / 1.054 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.315, allocations: 23.98 kB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008382/0.3158, allocations: 0.6313 MB / 1.055 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3158, allocations: 0 / 1.055 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009825/0.3168, allocations: 331.4 kB / 1.055 GB, free: 13.31 MB / 0.6823 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.0007198/0.3175, allocations: 361.1 kB / 1.055 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.3184, allocations: 432.9 kB / 1.056 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3184, allocations: 0 / 1.056 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.3188, allocations: 205.1 kB / 1.056 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.3216, allocations: 0.5964 MB / 1.057 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3242, allocations: 1.957 MB / 1.059 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.3248, allocations: 1.032 MB / 1.06 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007402/0.3255, allocations: 200.5 kB / 1.06 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3257, allocations: 79.42 kB / 1.06 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.3257, allocations: 0 / 1.06 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.4232/0.7489, allocations: 19.57 MB / 1.079 GB, free: 87.4 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)