Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.596/1.596, allocations: 287.5 MB / 302.6 MB, free: 8.301 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.0009572/0.0009572, allocations: 184.7 kB / 371.2 MB, free: 10.84 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.473/1.473, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0008043/0.0008046, allocations: 96.34 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 12.25 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03002/0.2431, allocations: 38.31 MB / 1.016 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2571, allocations: 9.656 MB / 1.026 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.2591, allocations: 43.69 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2608, allocations: 465 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.2659, allocations: 1.458 MB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.2688, allocations: 0.8784 MB / 1.028 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005109/0.2739, allocations: 3.871 MB / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.2753, allocations: 0.8425 MB / 1.033 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2776, allocations: 0.9955 MB / 1.034 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.2787, allocations: 0.8127 MB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2789, allocations: 36 kB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.2806, allocations: 498.9 kB / 1.035 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.2808, allocations: 195.1 kB / 1.035 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.2812, allocations: 265.1 kB / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2827, allocations: 1.356 MB / 1.037 GB, free: 380 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2828, allocations: 0 / 1.037 GB, free: 380 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2828, allocations: 0 / 1.037 GB, free: 380 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.2828, allocations: 0 / 1.037 GB, free: 380 kB / 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.002183/0.285, allocations: 1.307 MB / 1.038 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.285, allocations: 8.031 kB / 1.038 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.2853, allocations: 139.4 kB / 1.038 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.287, allocations: 1.06 MB / 1.039 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.287, allocations: 58 kB / 1.039 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.2872, allocations: 72 kB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2885, allocations: 0.8022 MB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.2886, allocations: 4 kB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.2886, allocations: 32 kB / 1.04 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.2887, allocations: 20 kB / 1.04 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2898, allocations: 0.5828 MB / 1.041 GB, free: 12.16 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.003929/0.2937, allocations: 3.551 MB / 1.044 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2943, allocations: 276.5 kB / 1.045 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.2947, allocations: 184.8 kB / 1.045 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.2952, allocations: 0.6609 MB / 1.045 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2952, allocations: 34.56 kB / 1.046 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.2952, allocations: 4 kB / 1.046 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001183/0.2964, allocations: 0.5398 MB / 1.046 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2965, allocations: 55.41 kB / 1.046 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2976, allocations: 0.9175 MB / 1.047 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2976, allocations: 37.7 kB / 1.047 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.298, allocations: 491.6 kB / 1.047 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2981, allocations: 110.5 kB / 1.048 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.2981, allocations: 12 kB / 1.048 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2983, allocations: 333.9 kB / 1.048 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.2987, allocations: 173 kB / 1.048 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.2992, allocations: 362.8 kB / 1.048 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008569/0.3, allocations: 0.5419 MB / 1.049 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3, allocations: 0 / 1.049 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001098/0.3011, allocations: 0.6252 MB / 1.05 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3012, allocations: 10.44 kB / 1.05 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3012, allocations: 8 kB / 1.05 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3012, allocations: 11.98 kB / 1.05 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.3017, allocations: 123.8 kB / 1.05 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3017, allocations: 8.312 kB / 1.05 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.3025, allocations: 119.2 kB / 1.05 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.3026, allocations: 27.94 kB / 1.05 GB, free: 2.391 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.0004892/0.3031, allocations: 280 kB / 1.05 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3032, allocations: 98.78 kB / 1.05 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3042, allocations: 0.4962 MB / 1.051 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3042, allocations: 4 kB / 1.051 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3043, allocations: 0 / 1.051 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007364/0.305, allocations: 472.9 kB / 1.051 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3072, allocations: 1.373 MB / 1.053 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3072, allocations: 4 kB / 1.053 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.3075, allocations: 83.98 kB / 1.053 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3076, allocations: 11.92 kB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.3076, allocations: 11.98 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3076, allocations: 8.062 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3076, allocations: 0 / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3089, allocations: 0.7894 MB / 1.053 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.3092, allocations: 255.7 kB / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3094, allocations: 8 kB / 1.054 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.3099, allocations: 51.95 kB / 1.054 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.31, allocations: 27.95 kB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.31, allocations: 19.98 kB / 1.054 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008716/0.3109, allocations: 0.6352 MB / 1.054 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3109, allocations: 0 / 1.054 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001039/0.312, allocations: 327.5 kB / 1.055 GB, free: 13.29 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.0007567/0.3127, allocations: 365.8 kB / 1.055 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008939/0.3136, allocations: 448.4 kB / 1.055 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3137, allocations: 0 / 1.055 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.314, allocations: 193 kB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.3169, allocations: 0.6015 MB / 1.056 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.3195, allocations: 1.955 MB / 1.058 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.3201, allocations: 1.032 MB / 1.059 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000759/0.3209, allocations: 196.7 kB / 1.059 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.321, allocations: 87.41 kB / 1.059 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.3211, allocations: 0 / 1.059 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of Templates: time 0.4293/0.7504, allocations: 19.75 MB / 1.079 GB, free: 87.47 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)