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.614/1.614, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.001092/0.001091, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.389/1.389, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008049/0.0008049, allocations: 98.8 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.0005838, allocations: 16.19 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2298, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03625/0.2661, allocations: 38.32 MB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2812, allocations: 9.654 MB / 1.027 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.2832, allocations: 47.69 kB / 1.027 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2852, allocations: 469 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.2906, allocations: 1.572 MB / 1.029 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.2942, allocations: 0.8897 MB / 1.03 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005751/0.3, allocations: 3.861 MB / 1.034 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.3019, allocations: 0.8617 MB / 1.034 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.3044, allocations: 1.003 MB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.3062, allocations: 0.8049 MB / 1.036 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.3065, allocations: 36 kB / 1.036 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.3091, allocations: 0.7286 MB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.3095, allocations: 199.1 kB / 1.037 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3109, allocations: 0.5499 MB / 1.038 GB, free: 192 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.3135, allocations: 1.434 MB / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3135, allocations: 0 / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3135, allocations: 0 / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.034e-05/0.3136, allocations: 0 / 1.039 GB, free: 14.75 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.003528/0.3171, allocations: 1.301 MB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3172, allocations: 8.031 kB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005467/0.3177, allocations: 135.4 kB / 1.041 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.3201, allocations: 1.064 MB / 1.042 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.3202, allocations: 54 kB / 1.042 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3203, allocations: 72 kB / 1.042 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3219, allocations: 0.7983 MB / 1.042 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.322, allocations: 4 kB / 1.042 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.322, allocations: 24 kB / 1.042 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.3221, allocations: 27.94 kB / 1.043 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.3233, allocations: 0.5867 MB / 1.043 GB, free: 10.55 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.005114/0.3285, allocations: 3.547 MB / 1.047 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.3291, allocations: 278.3 kB / 1.047 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.3295, allocations: 188.8 kB / 1.047 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.3301, allocations: 0.657 MB / 1.048 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3301, allocations: 46.56 kB / 1.048 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.3301, allocations: 0 / 1.048 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001214/0.3314, allocations: 0.5437 MB / 1.048 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3314, allocations: 55.34 kB / 1.048 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3325, allocations: 0.9253 MB / 1.049 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3326, allocations: 29.7 kB / 1.049 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.333, allocations: 495.6 kB / 1.05 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3331, allocations: 114.5 kB / 1.05 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.3331, allocations: 8 kB / 1.05 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3333, allocations: 329.9 kB / 1.05 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.3337, allocations: 177 kB / 1.05 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.3342, allocations: 358.8 kB / 1.051 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.3351, allocations: 0.5341 MB / 1.051 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3351, allocations: 4 kB / 1.051 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001106/0.3362, allocations: 0.625 MB / 1.052 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3362, allocations: 8.469 kB / 1.052 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3363, allocations: 8 kB / 1.052 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.3363, allocations: 11.98 kB / 1.052 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.3368, allocations: 131.8 kB / 1.052 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.3368, allocations: 8 kB / 1.052 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.3375, allocations: 115.2 kB / 1.052 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.3376, allocations: 27.94 kB / 1.052 GB, free: 0.7617 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.0003987/0.338, allocations: 280 kB / 1.052 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3381, allocations: 98.78 kB / 1.052 GB, free: 392 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3391, allocations: 0.4984 MB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.3392, allocations: 8 kB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3392, allocations: 0 / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007551/0.3399, allocations: 468.9 kB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.3424, allocations: 1.381 MB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3424, allocations: 0 / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3428, allocations: 87.83 kB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3428, allocations: 160 / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.3429, allocations: 15.98 kB / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.3429, allocations: 7.984 kB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3429, allocations: 0 / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3443, allocations: 0.7934 MB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.3448, allocations: 251.6 kB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.3449, allocations: 8 kB / 1.056 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.3455, allocations: 52.02 kB / 1.056 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.3456, allocations: 23.95 kB / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3457, allocations: 27.98 kB / 1.056 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001012/0.3467, allocations: 0.6352 MB / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3467, allocations: 0 / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001085/0.3478, allocations: 323.5 kB / 1.057 GB, free: 11.66 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.0008029/0.3486, allocations: 384.1 kB / 1.057 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009044/0.3495, allocations: 440.6 kB / 1.058 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3495, allocations: 4.188 kB / 1.058 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.3499, allocations: 200.2 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.3528, allocations: 0.5923 MB / 1.058 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3555, allocations: 1.95 MB / 1.06 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.3562, allocations: 1.04 MB / 1.061 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007453/0.3569, allocations: 200.6 kB / 1.062 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3571, allocations: 79.42 kB / 1.062 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/0.3571, allocations: 0 / 1.062 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of Templates: time 0.4427/0.7998, allocations: 20.06 MB / 1.081 GB, free: 87.37 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)