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.001481/0.001481, allocations: 108.2 kB / 16.35 MB, free: 5.879 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.001622/0.001622, allocations: 193.7 kB / 17.29 MB, free: 5.516 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.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001419/0.001419, allocations: 74.86 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2043, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3583/0.5626, allocations: 41.58 MB / 0.8254 GB, free: 22.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.5751, allocations: 10.31 MB / 0.8354 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.5771, allocations: 53.09 kB / 0.8355 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.5788, allocations: 0.6387 MB / 0.8361 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.5839, allocations: 1.866 MB / 0.8379 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.5871, allocations: 1.198 MB / 0.8391 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.5922, allocations: 3.376 MB / 0.8424 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.5939, allocations: 1.058 MB / 0.8434 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.5972, allocations: 1.242 MB / 0.8446 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.5991, allocations: 0.8802 MB / 0.8455 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.5993, allocations: 100.3 kB / 0.8456 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.6018, allocations: 0.8597 MB / 0.8464 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.6021, allocations: 280 kB / 0.8467 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007966/0.6029, allocations: 0.6271 MB / 0.8473 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.6064, allocations: 1.927 MB / 0.8492 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6065, allocations: 5.875 kB / 0.8492 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6065, allocations: 0 / 0.8492 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.321e-05/0.6065, allocations: 0 / 0.8492 GB, free: 8.711 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.0028/0.6093, allocations: 1.508 MB / 0.8507 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6094, allocations: 9.438 kB / 0.8507 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.6098, allocations: 138.7 kB / 0.8508 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.6116, allocations: 1.035 MB / 0.8518 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.6116, allocations: 54.88 kB / 0.8519 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6117, allocations: 72.88 kB / 0.852 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6131, allocations: 0.7934 MB / 0.8527 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.6131, allocations: 3.906 kB / 0.8527 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.6132, allocations: 26.16 kB / 0.8528 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.6132, allocations: 23.41 kB / 0.8528 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6144, allocations: 0.5741 MB / 0.8533 GB, free: 6.324 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.004119/0.6185, allocations: 3.539 MB / 0.8568 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.6191, allocations: 266.7 kB / 0.8571 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.6194, allocations: 172 kB / 0.8572 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.6198, allocations: 0.6615 MB / 0.8579 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.6198, allocations: 37.28 kB / 0.8579 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.425e-06/0.6198, allocations: 4 kB / 0.8579 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001307/0.6211, allocations: 0.5085 MB / 0.8584 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.6212, allocations: 63.3 kB / 0.8585 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6224, allocations: 0.9393 MB / 0.8594 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.6225, allocations: 36.11 kB / 0.8594 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.6228, allocations: 496 kB / 0.8599 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.6229, allocations: 117.1 kB / 0.86 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.6231, allocations: 118.4 kB / 0.8601 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.6231, allocations: 329.7 kB / 0.8604 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.6235, allocations: 160.7 kB / 0.8606 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.624, allocations: 352.7 kB / 0.8609 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.6247, allocations: 0.5124 MB / 0.8614 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6247, allocations: 1.094 kB / 0.8614 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001198/0.6259, allocations: 0.6122 MB / 0.862 GB, free: 300 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.626, allocations: 8.188 kB / 0.862 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.626, allocations: 6.219 kB / 0.862 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.626, allocations: 12.31 kB / 0.862 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.6265, allocations: 123.6 kB / 0.8622 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.6265, allocations: 13.67 kB / 0.8622 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.6273, allocations: 86.02 kB / 0.8622 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.6274, allocations: 30.55 kB / 0.8623 GB, free: 224 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.0003767/0.6277, allocations: 280.2 kB / 0.8625 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.6279, allocations: 98.14 kB / 0.8626 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.629, allocations: 484.5 kB / 0.8631 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.629, allocations: 4.406 kB / 0.8631 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.629, allocations: 0 / 0.8631 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007337/0.6298, allocations: 457.5 kB / 0.8635 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.6322, allocations: 1.362 MB / 0.8649 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6322, allocations: 5.5 kB / 0.8649 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.6325, allocations: 80.16 kB / 0.865 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.6326, allocations: 6.375 kB / 0.865 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6326, allocations: 8.75 kB / 0.865 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.6326, allocations: 6.562 kB / 0.865 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6326, allocations: 1.406 kB / 0.865 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6339, allocations: 0.7662 MB / 0.8657 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.6343, allocations: 227.1 kB / 0.8659 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6344, allocations: 10.56 kB / 0.8659 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.635, allocations: 33.33 kB / 0.866 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.6351, allocations: 24 kB / 0.866 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.6351, allocations: 25.02 kB / 0.866 GB, free: 13.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008869/0.636, allocations: 0.6537 MB / 0.8667 GB, free: 13.37 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.5e-07/0.636, allocations: 0 / 0.8667 GB, free: 13.37 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001112/0.6371, allocations: 336.2 kB / 0.867 GB, free: 13.29 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.0007626/0.6379, allocations: 387.4 kB / 0.8674 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009293/0.6388, allocations: 425 kB / 0.8678 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6389, allocations: 2.5 kB / 0.8678 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.6393, allocations: 183.8 kB / 0.8679 GB, free: 12.83 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.6418, allocations: 0.6197 MB / 0.8685 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.6442, allocations: 1.574 MB / 0.8701 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.6448, allocations: 1.039 MB / 0.8711 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007004/0.6455, allocations: 191.4 kB / 0.8713 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6457, allocations: 87.06 kB / 0.8714 GB, free: 10.57 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.6457, allocations: 0 / 0.8714 GB, free: 10.57 MB / 0.67 GB Notification: Performance of Templates: time 0.03511/0.6808, allocations: 21.29 MB / 0.8922 GB, free: 12.06 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)