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.005869/0.005869, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.001181/0.001181, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.396/1.396, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.594/1.594, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.00141/0.00141, allocations: 59.91 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2547, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0447/0.2994, allocations: 41.57 MB / 0.8687 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.3153, allocations: 10.29 MB / 0.8787 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/0.3184, allocations: 51.69 kB / 0.8788 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.3205, allocations: 0.6443 MB / 0.8794 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.3256, allocations: 1.853 MB / 0.8812 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.3285, allocations: 1.168 MB / 0.8823 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004474/0.333, allocations: 3.383 MB / 0.8856 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.3344, allocations: 1.052 MB / 0.8867 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.337, allocations: 1.224 MB / 0.8879 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.3382, allocations: 0.8711 MB / 0.8887 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.3384, allocations: 104 kB / 0.8888 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.3403, allocations: 0.8578 MB / 0.8896 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.3406, allocations: 279 kB / 0.8899 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.3413, allocations: 0.6261 MB / 0.8905 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.3439, allocations: 1.915 MB / 0.8924 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3439, allocations: 0 / 0.8924 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3439, allocations: 7.984 kB / 0.8924 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.3439, allocations: 0 / 0.8924 GB, free: 14.05 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.002325/0.3462, allocations: 1.537 MB / 0.8939 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3463, allocations: 15.97 kB / 0.8939 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.3466, allocations: 140.1 kB / 0.894 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.3484, allocations: 1.096 MB / 0.8951 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.3485, allocations: 54 kB / 0.8952 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3486, allocations: 71.94 kB / 0.8952 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.35, allocations: 0.7905 MB / 0.896 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.35, allocations: 0 / 0.896 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.3501, allocations: 28 kB / 0.896 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.3501, allocations: 23.98 kB / 0.8961 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3513, allocations: 0.5711 MB / 0.8966 GB, free: 9.594 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.003856/0.3552, allocations: 3.548 MB / 0.9001 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.3558, allocations: 270.4 kB / 0.9003 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3561, allocations: 175.6 kB / 0.9005 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.3567, allocations: 0.6571 MB / 0.9012 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3567, allocations: 34.56 kB / 0.9012 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3567, allocations: 0 / 0.9012 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001235/0.3579, allocations: 0.5169 MB / 0.9017 GB, free: 4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.358, allocations: 55.41 kB / 0.9017 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.3593, allocations: 0.9449 MB / 0.9027 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3593, allocations: 33.7 kB / 0.9027 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.3598, allocations: 0.5004 MB / 0.9032 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3599, allocations: 115 kB / 0.9033 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3601, allocations: 114.2 kB / 0.9034 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3602, allocations: 333.9 kB / 0.9037 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.3606, allocations: 165 kB / 0.9039 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.3611, allocations: 347 kB / 0.9042 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008545/0.3619, allocations: 0.5148 MB / 0.9047 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3619, allocations: 0 / 0.9047 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00113/0.3631, allocations: 0.6136 MB / 0.9053 GB, free: 84 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3631, allocations: 4 kB / 0.9053 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3631, allocations: 8.688 kB / 0.9053 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3631, allocations: 8 kB / 0.9053 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.3636, allocations: 123.8 kB / 0.9055 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3636, allocations: 15.92 kB / 0.9055 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.3642, allocations: 87.38 kB / 0.9055 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3643, allocations: 24 kB / 0.9056 GB, free: 15.82 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.0003526/0.3646, allocations: 273.6 kB / 0.9058 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3648, allocations: 107.4 kB / 0.9059 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3658, allocations: 484.4 kB / 0.9064 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.3658, allocations: 7.938 kB / 0.9064 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3659, allocations: 0 / 0.9064 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007794/0.3666, allocations: 452.9 kB / 0.9068 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.3687, allocations: 1.351 MB / 0.9082 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3687, allocations: 0 / 0.9082 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.3691, allocations: 79.81 kB / 0.9082 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.3691, allocations: 7.938 kB / 0.9082 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3692, allocations: 12 kB / 0.9083 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3692, allocations: 4 kB / 0.9083 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3692, allocations: 0 / 0.9083 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3705, allocations: 0.7722 MB / 0.909 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.3708, allocations: 228.3 kB / 0.9092 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.371, allocations: 8 kB / 0.9092 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.3715, allocations: 31.95 kB / 0.9093 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.3716, allocations: 24.03 kB / 0.9093 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.3716, allocations: 23.98 kB / 0.9093 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008626/0.3725, allocations: 0.6548 MB / 0.9099 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3725, allocations: 0 / 0.9099 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001014/0.3735, allocations: 339.3 kB / 0.9103 GB, free: 10.82 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.000798/0.3743, allocations: 393.1 kB / 0.9106 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009446/0.3753, allocations: 420 kB / 0.911 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3753, allocations: 0 / 0.911 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.3757, allocations: 185 kB / 0.9112 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.3784, allocations: 0.6243 MB / 0.9118 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.381, allocations: 1.615 MB / 0.9134 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.3817, allocations: 1.036 MB / 0.9144 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007228/0.3824, allocations: 191.9 kB / 0.9146 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3826, allocations: 79.42 kB / 0.9147 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of SimCode: time 3.346e-06/0.3826, allocations: 4 kB / 0.9147 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of Templates: time 0.4531/0.8358, allocations: 21.3 MB / 0.9355 GB, free: 88.26 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)