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.00119/0.00119, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001561/0.001561, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.506/1.506, allocations: 252 MB / 0.5102 GB, free: 4.762 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.000515/0.0005152, allocations: 16 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5172, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03758/0.5549, allocations: 38.32 MB / 0.7655 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.5689, allocations: 9.617 MB / 0.7749 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.5709, allocations: 51.69 kB / 0.775 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.5726, allocations: 465 kB / 0.7754 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.5772, allocations: 1.475 MB / 0.7769 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.5799, allocations: 0.8345 MB / 0.7777 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005291/0.5852, allocations: 3.819 MB / 0.7814 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.5866, allocations: 0.7472 MB / 0.7821 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.5889, allocations: 0.9916 MB / 0.7831 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.5904, allocations: 0.8049 MB / 0.7839 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.5905, allocations: 40 kB / 0.7839 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.5923, allocations: 490.8 kB / 0.7844 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.5925, allocations: 199.1 kB / 0.7846 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.5929, allocations: 257.1 kB / 0.7848 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.5947, allocations: 1.36 MB / 0.7862 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5948, allocations: 0 / 0.7862 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5948, allocations: 0 / 0.7862 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.5948, allocations: 0 / 0.7862 GB, free: 15.79 MB / 0.6075 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.002548/0.5973, allocations: 1.304 MB / 0.7874 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5974, allocations: 12.02 kB / 0.7875 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.5978, allocations: 130.5 kB / 0.7876 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.5996, allocations: 1.021 MB / 0.7886 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.5997, allocations: 57.95 kB / 0.7886 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5998, allocations: 75.98 kB / 0.7887 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.6012, allocations: 0.7905 MB / 0.7895 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6012, allocations: 3.984 kB / 0.7895 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.6013, allocations: 31.98 kB / 0.7895 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.6013, allocations: 20 kB / 0.7895 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6024, allocations: 0.5867 MB / 0.7901 GB, free: 11.63 MB / 0.6075 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.004151/0.6066, allocations: 3.528 MB / 0.7935 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.6072, allocations: 266.6 kB / 0.7938 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.6076, allocations: 197.2 kB / 0.794 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.6081, allocations: 0.6532 MB / 0.7946 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.6082, allocations: 46.48 kB / 0.7947 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.6082, allocations: 4 kB / 0.7947 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001197/0.6094, allocations: 0.5359 MB / 0.7952 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6094, allocations: 59.41 kB / 0.7953 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.6106, allocations: 0.9137 MB / 0.7961 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.6107, allocations: 33.7 kB / 0.7962 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.6111, allocations: 0.4957 MB / 0.7967 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.6112, allocations: 118.3 kB / 0.7968 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.6113, allocations: 8 kB / 0.7968 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6114, allocations: 329.9 kB / 0.7971 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6118, allocations: 177 kB / 0.7973 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.6123, allocations: 351 kB / 0.7976 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.6127, allocations: 227.8 kB / 0.7978 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6127, allocations: 8 kB / 0.7978 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001115/0.6139, allocations: 0.6331 MB / 0.7984 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.6139, allocations: 12 kB / 0.7985 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6139, allocations: 4 kB / 0.7985 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.6139, allocations: 8 kB / 0.7985 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.6144, allocations: 127.8 kB / 0.7986 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.6144, allocations: 11.94 kB / 0.7986 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/0.6152, allocations: 115.2 kB / 0.7987 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.6153, allocations: 31.98 kB / 0.7987 GB, free: 2.238 MB / 0.6075 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.000527/0.6158, allocations: 277.6 kB / 0.799 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.616, allocations: 98.78 kB / 0.7991 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6171, allocations: 0.4941 MB / 0.7996 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.6171, allocations: 4 kB / 0.7996 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6171, allocations: 0 / 0.7996 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007215/0.6178, allocations: 476.6 kB / 0.8 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.6199, allocations: 1.362 MB / 0.8014 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6199, allocations: 4 kB / 0.8014 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.6202, allocations: 88.03 kB / 0.8015 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6203, allocations: 4 kB / 0.8015 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.6203, allocations: 8 kB / 0.8015 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.6203, allocations: 7.953 kB / 0.8015 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6203, allocations: 0 / 0.8015 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.6216, allocations: 0.789 MB / 0.8023 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.6219, allocations: 239.8 kB / 0.8025 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.622, allocations: 11.94 kB / 0.8025 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.6226, allocations: 55.94 kB / 0.8025 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.6226, allocations: 35.92 kB / 0.8026 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.6227, allocations: 15.98 kB / 0.8026 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008107/0.6235, allocations: 0.6352 MB / 0.8032 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6235, allocations: 0 / 0.8032 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009675/0.6245, allocations: 327.4 kB / 0.8035 GB, free: 13.16 MB / 0.6231 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.0006999/0.6252, allocations: 359.9 kB / 0.8039 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008785/0.6261, allocations: 436.3 kB / 0.8043 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6261, allocations: 448 / 0.8043 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.6265, allocations: 200.5 kB / 0.8045 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.6291, allocations: 0.591 MB / 0.8051 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.6321, allocations: 1.953 MB / 0.807 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.6329, allocations: 1.032 MB / 0.808 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007504/0.6336, allocations: 202.8 kB / 0.8082 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.6338, allocations: 75.42 kB / 0.8082 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.6338, allocations: 0 / 0.8082 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.03493/0.6687, allocations: 19.47 MB / 0.8273 GB, free: 5.094 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: