Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 170.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007112/0.0007112, allocations: 92.28 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 9.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05161/0.2258, allocations: 76.34 MB / 0.9713 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02403/0.2499, allocations: 18.74 MB / 0.9896 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.2532, allocations: 95.38 kB / 0.9897 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.2565, allocations: 1.022 MB / 0.9907 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009726/0.2663, allocations: 3.347 MB / 0.9939 GB, free: 288 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.2718, allocations: 1.856 MB / 0.9958 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.282, allocations: 8.847 MB / 1.004 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.2849, allocations: 1.655 MB / 1.006 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.2891, allocations: 1.936 MB / 1.008 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.292, allocations: 1.691 MB / 1.01 GB, free: 228 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004506/0.2925, allocations: 76 kB / 1.01 GB, free: 152 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.2966, allocations: 1.434 MB / 1.011 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005331/0.2972, allocations: 410.1 kB / 1.011 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.2988, allocations: 1.092 MB / 1.012 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.3024, allocations: 2.77 MB / 1.015 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3024, allocations: 3.984 kB / 1.015 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3024, allocations: 0 / 1.015 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.708e-05/0.3025, allocations: 0 / 1.015 GB, free: 10.43 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003911/0.3064, allocations: 2.297 MB / 1.017 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3065, allocations: 8.031 kB / 1.017 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.3072, allocations: 262 kB / 1.018 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.3103, allocations: 1.939 MB / 1.02 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.3104, allocations: 102.7 kB / 1.02 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.3106, allocations: 152 kB / 1.02 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.3132, allocations: 1.524 MB / 1.021 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.3133, allocations: 3.938 kB / 1.021 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3134, allocations: 60 kB / 1.021 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.3134, allocations: 43.98 kB / 1.021 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.3157, allocations: 1.165 MB / 1.023 GB, free: 2.688 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.008626/0.3244, allocations: 7.559 MB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.3254, allocations: 0.4888 MB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.326, allocations: 366.8 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008715/0.3269, allocations: 1.148 MB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3269, allocations: 43.12 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.046e-06/0.327, allocations: 0 / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002436/0.3294, allocations: 1.028 MB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3294, allocations: 55.97 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.3317, allocations: 1.743 MB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.3318, allocations: 45.7 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.3325, allocations: 0.9159 MB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3327, allocations: 213 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3328, allocations: 97.66 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3329, allocations: 353.9 kB / 1.036 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.3336, allocations: 350.4 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.3345, allocations: 0.7134 MB / 1.037 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3361, allocations: 1.051 MB / 1.038 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3361, allocations: 4 kB / 1.038 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002261/0.3384, allocations: 1.265 MB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3384, allocations: 8 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3385, allocations: 12 kB / 1.04 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/0.3385, allocations: 20.05 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.3395, allocations: 312 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.3396, allocations: 31.81 kB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.3411, allocations: 246.4 kB / 1.04 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.3412, allocations: 55.98 kB / 1.04 GB, free: 15.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0006785/0.3418, allocations: 441.3 kB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.3422, allocations: 193.7 kB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3439, allocations: 0.8992 MB / 1.042 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.3439, allocations: 12 kB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3439, allocations: 7.938 kB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/0.3452, allocations: 0.8347 MB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.3492, allocations: 2.466 MB / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3492, allocations: 3.938 kB / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.35, allocations: 212 kB / 1.045 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.35, allocations: 4 kB / 1.045 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.3501, allocations: 16 kB / 1.045 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3501, allocations: 8 kB / 1.045 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3501, allocations: 4 kB / 1.045 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.3526, allocations: 1.394 MB / 1.047 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.3533, allocations: 358.5 kB / 1.047 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.3536, allocations: 15.98 kB / 1.047 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.3549, allocations: 127.7 kB / 1.047 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3551, allocations: 44.44 kB / 1.047 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.3552, allocations: 39.97 kB / 1.047 GB, free: 8.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002584/0.3578, allocations: 1.204 MB / 1.048 GB, free: 6.867 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3578, allocations: 0 / 1.048 GB, free: 6.867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002756/0.3606, allocations: 0.6395 MB / 1.049 GB, free: 6.227 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001415/0.362, allocations: 0.5967 MB / 1.049 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.364, allocations: 0.8546 MB / 1.05 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.364, allocations: 0 / 1.05 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.3648, allocations: 380.4 kB / 1.051 GB, free: 4.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00645/0.3713, allocations: 1.206 MB / 1.052 GB, free: 3.219 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3248/0.6962, allocations: 3.743 MB / 1.056 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.6969, allocations: 1.392 MB / 1.057 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.6974, allocations: 154.4 kB / 1.057 GB, free: 149.1 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/0.6974, allocations: 0 / 1.057 GB, free: 149.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05421/0.7516, allocations: 34.21 MB / 1.09 GB, free: 135.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)