Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001516/0.001522, allocations: 103.8 kB / 16.36 MB, free: 6.305 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.001565/0.001565, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.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.001619/0.001619, allocations: 71.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4691/0.7413, allocations: 41.57 MB / 0.8254 GB, free: 22.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.7561, allocations: 10.31 MB / 0.8354 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.759, allocations: 57.38 kB / 0.8355 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.7612, allocations: 0.6396 MB / 0.8361 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.7675, allocations: 1.865 MB / 0.8379 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.7712, allocations: 1.191 MB / 0.8391 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006083/0.7773, allocations: 3.385 MB / 0.8424 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.7791, allocations: 1.058 MB / 0.8434 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.7826, allocations: 1.238 MB / 0.8447 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.7845, allocations: 0.8832 MB / 0.8455 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.7847, allocations: 99.81 kB / 0.8456 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.7878, allocations: 0.8598 MB / 0.8465 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.7882, allocations: 277.9 kB / 0.8467 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.7891, allocations: 0.6281 MB / 0.8473 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.793, allocations: 1.93 MB / 0.8492 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.793, allocations: 0.6094 kB / 0.8492 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.793, allocations: 0 / 0.8492 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.793, allocations: 0 / 0.8492 GB, free: 8.656 MB / 0.6544 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.002747/0.7958, allocations: 1.511 MB / 0.8507 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7958, allocations: 9.625 kB / 0.8507 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.7962, allocations: 130.4 kB / 0.8508 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.7981, allocations: 1.097 MB / 0.8519 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.7982, allocations: 55.56 kB / 0.8519 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.7983, allocations: 67.38 kB / 0.852 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.7999, allocations: 0.7972 MB / 0.8528 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.7999, allocations: 2.828 kB / 0.8528 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.8, allocations: 26.88 kB / 0.8528 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.8001, allocations: 20.05 kB / 0.8528 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.8015, allocations: 0.5773 MB / 0.8534 GB, free: 6.258 MB / 0.6544 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.004449/0.8059, allocations: 3.543 MB / 0.8569 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.8066, allocations: 265 kB / 0.8571 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.8069, allocations: 175.2 kB / 0.8573 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.8073, allocations: 0.6598 MB / 0.8579 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.8074, allocations: 41.48 kB / 0.858 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.885e-06/0.8074, allocations: 0 / 0.858 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001304/0.8087, allocations: 0.513 MB / 0.8585 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.8087, allocations: 57.64 kB / 0.8585 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.81, allocations: 0.9442 MB / 0.8594 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.81, allocations: 32.58 kB / 0.8595 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.8104, allocations: 495.2 kB / 0.8599 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.8105, allocations: 116.2 kB / 0.8601 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.8107, allocations: 117.7 kB / 0.8602 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.8108, allocations: 330.3 kB / 0.8605 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.8111, allocations: 160.6 kB / 0.8606 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.8116, allocations: 357.1 kB / 0.861 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.8124, allocations: 0.5171 MB / 0.8615 GB, free: 488 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.8124, allocations: 2.125 kB / 0.8615 GB, free: 488 kB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001221/0.8136, allocations: 0.6067 MB / 0.8621 GB, free: 232 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8137, allocations: 11.41 kB / 0.8621 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8137, allocations: 7.719 kB / 0.8621 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.8137, allocations: 8.406 kB / 0.8621 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.8142, allocations: 122.5 kB / 0.8622 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.8142, allocations: 14.06 kB / 0.8622 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/0.815, allocations: 83.45 kB / 0.8623 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.8151, allocations: 25.47 kB / 0.8623 GB, free: 160 kB / 0.6544 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.0004561/0.8155, allocations: 283.3 kB / 0.8626 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.8157, allocations: 98.86 kB / 0.8627 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.8168, allocations: 479.3 kB / 0.8632 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.8168, allocations: 4.484 kB / 0.8632 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8168, allocations: 4 kB / 0.8632 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007729/0.8176, allocations: 455.5 kB / 0.8636 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.82, allocations: 1.364 MB / 0.8649 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.82, allocations: 5.5 kB / 0.8649 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.8204, allocations: 75.94 kB / 0.865 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8204, allocations: 6.094 kB / 0.865 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.8204, allocations: 8.969 kB / 0.865 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.8205, allocations: 2.281 kB / 0.865 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8205, allocations: 7.625 kB / 0.865 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.8218, allocations: 0.7662 MB / 0.8658 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.8223, allocations: 221.6 kB / 0.866 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.8224, allocations: 13.16 kB / 0.866 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.8229, allocations: 34.11 kB / 0.866 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.823, allocations: 28.03 kB / 0.8661 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.8231, allocations: 20.14 kB / 0.8661 GB, free: 13.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00102/0.8241, allocations: 0.6538 MB / 0.8667 GB, free: 13.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8241, allocations: 1.375 kB / 0.8667 GB, free: 13.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001378/0.8255, allocations: 336.1 kB / 0.867 GB, free: 13.23 MB / 0.67 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.001/0.8265, allocations: 394 kB / 0.8674 GB, free: 13.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.8276, allocations: 422.6 kB / 0.8678 GB, free: 12.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8276, allocations: 0 / 0.8678 GB, free: 12.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.828, allocations: 187.6 kB / 0.868 GB, free: 12.76 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.831, allocations: 0.6244 MB / 0.8686 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.8339, allocations: 1.61 MB / 0.8702 GB, free: 11.44 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.8346, allocations: 1.036 MB / 0.8712 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.8348, allocations: 82.55 kB / 0.8713 GB, free: 10.56 MB / 0.67 GB Notification: Performance of SimCode: time 1.103e-06/0.8348, allocations: 0 / 0.8713 GB, free: 10.56 MB / 0.67 GB Notification: Performance of Templates: time 0.03679/0.8716, allocations: 17.94 MB / 0.8888 GB, free: 15.33 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)