Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007224/0.007224, allocations: 98.27 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 192.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.258, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04188/0.3, allocations: 41.57 MB / 0.8686 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.3155, allocations: 10.28 MB / 0.8787 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.3173, allocations: 55.62 kB / 0.8787 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.3191, allocations: 0.6638 MB / 0.8794 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.3248, allocations: 1.953 MB / 0.8813 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.3284, allocations: 1.165 MB / 0.8824 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.3329, allocations: 3.392 MB / 0.8857 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.3345, allocations: 1.048 MB / 0.8868 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.3374, allocations: 1.259 MB / 0.888 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3388, allocations: 0.8828 MB / 0.8889 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.339, allocations: 100 kB / 0.889 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3412, allocations: 0.8617 MB / 0.8898 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.3415, allocations: 275 kB / 0.8901 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007321/0.3423, allocations: 0.6221 MB / 0.8907 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.3449, allocations: 1.912 MB / 0.8925 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3449, allocations: 0 / 0.8925 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3449, allocations: 0 / 0.8925 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3449, allocations: 0 / 0.8925 GB, free: 13.96 MB / 0.7169 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.002394/0.3473, allocations: 1.511 MB / 0.894 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3474, allocations: 12.03 kB / 0.894 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.3477, allocations: 135.4 kB / 0.8941 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.3496, allocations: 1.08 MB / 0.8952 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.3497, allocations: 50 kB / 0.8953 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3498, allocations: 72 kB / 0.8953 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3511, allocations: 0.7788 MB / 0.8961 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.3512, allocations: 11.94 kB / 0.8961 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.3513, allocations: 24 kB / 0.8961 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.3513, allocations: 20 kB / 0.8961 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3525, allocations: 0.575 MB / 0.8967 GB, free: 9.566 MB / 0.7169 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.004148/0.3566, allocations: 3.54 MB / 0.9002 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.3573, allocations: 258.4 kB / 0.9004 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.3576, allocations: 195.5 kB / 0.9006 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.3582, allocations: 0.6532 MB / 0.9012 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3583, allocations: 34.56 kB / 0.9013 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.3583, allocations: 0 / 0.9013 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001205/0.3595, allocations: 0.5125 MB / 0.9018 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3595, allocations: 55.41 kB / 0.9018 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3607, allocations: 0.9409 MB / 0.9027 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3608, allocations: 37.7 kB / 0.9028 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.3611, allocations: 495.6 kB / 0.9032 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3613, allocations: 110.4 kB / 0.9033 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3614, allocations: 122 kB / 0.9035 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3616, allocations: 329.9 kB / 0.9038 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.3619, allocations: 169 kB / 0.9039 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3624, allocations: 343 kB / 0.9043 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.3633, allocations: 0.5109 MB / 0.9048 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3633, allocations: 0 / 0.9048 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001111/0.3644, allocations: 0.6093 MB / 0.9054 GB, free: 88 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3644, allocations: 8 kB / 0.9054 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3645, allocations: 8 kB / 0.9054 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3645, allocations: 8 kB / 0.9054 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.3649, allocations: 124.4 kB / 0.9055 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.365, allocations: 19.91 kB / 0.9055 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.3655, allocations: 91.03 kB / 0.9056 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.3656, allocations: 24 kB / 0.9056 GB, free: 15.81 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.3659, allocations: 277.5 kB / 0.9059 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3661, allocations: 94.88 kB / 0.906 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/0.3671, allocations: 479.5 kB / 0.9064 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.3671, allocations: 11.98 kB / 0.9064 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3671, allocations: 4 kB / 0.9065 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007194/0.3678, allocations: 456.8 kB / 0.9069 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.3699, allocations: 1.347 MB / 0.9082 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3699, allocations: 8.094 kB / 0.9082 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.3702, allocations: 67.95 kB / 0.9083 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3702, allocations: 7.938 kB / 0.9083 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.3703, allocations: 11.98 kB / 0.9083 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3703, allocations: 7.938 kB / 0.9083 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3703, allocations: 0 / 0.9083 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3716, allocations: 0.756 MB / 0.909 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.3719, allocations: 231.6 kB / 0.9093 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.372, allocations: 12.06 kB / 0.9093 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.3725, allocations: 35.89 kB / 0.9093 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.3726, allocations: 27.97 kB / 0.9093 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.3726, allocations: 11.98 kB / 0.9093 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008845/0.3735, allocations: 0.6548 MB / 0.91 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3735, allocations: 8 kB / 0.91 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009819/0.3745, allocations: 335.5 kB / 0.9103 GB, free: 10.83 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008218/0.3754, allocations: 385.1 kB / 0.9107 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.3763, allocations: 420.4 kB / 0.9111 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3763, allocations: 4 kB / 0.9111 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.3767, allocations: 188.8 kB / 0.9113 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.3792, allocations: 0.6178 MB / 0.9119 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3819, allocations: 1.582 MB / 0.9134 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.3826, allocations: 1.032 MB / 0.9144 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006612/0.3833, allocations: 199.6 kB / 0.9146 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.3835, allocations: 79.42 kB / 0.9147 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.3835, allocations: 0 / 0.9147 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of Templates: time 0.472/0.8555, allocations: 21.29 MB / 0.9355 GB, free: 88.38 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)