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.0008889/0.0008891, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0074/0.0074, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.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.706/1.706, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000527/0.000527, allocations: 14.25 kB / 0.6743 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.233, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04058/0.2736, allocations: 40.49 MB / 0.8274 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.2876, allocations: 10.26 MB / 0.8374 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.2896, allocations: 47.69 kB / 0.8375 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2915, allocations: 0.5283 MB / 0.838 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.2963, allocations: 1.725 MB / 0.8397 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.2993, allocations: 1.084 MB / 0.8407 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00525/0.3046, allocations: 4.505 MB / 0.8451 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.3061, allocations: 0.8697 MB / 0.846 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.3084, allocations: 1.015 MB / 0.847 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.31, allocations: 0.8553 MB / 0.8478 GB, free: 14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.3102, allocations: 40 kB / 0.8479 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.3123, allocations: 0.7599 MB / 0.8486 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.3126, allocations: 219 kB / 0.8488 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008451/0.3135, allocations: 0.5769 MB / 0.8494 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.316, allocations: 1.83 MB / 0.8512 GB, free: 10.56 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.316, allocations: 4 kB / 0.8512 GB, free: 10.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.272e-06/0.316, allocations: 0 / 0.8512 GB, free: 10.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.3161, allocations: 0 / 0.8512 GB, free: 10.55 MB / 0.67 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.002328/0.3184, allocations: 1.297 MB / 0.8524 GB, free: 9.203 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3185, allocations: 8.031 kB / 0.8524 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.3189, allocations: 135.4 kB / 0.8526 GB, free: 9.062 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.3205, allocations: 1.068 MB / 0.8536 GB, free: 7.953 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.3206, allocations: 54 kB / 0.8537 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3207, allocations: 72 kB / 0.8537 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.322, allocations: 0.7944 MB / 0.8545 GB, free: 7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3221, allocations: 4 kB / 0.8545 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.3221, allocations: 28 kB / 0.8545 GB, free: 6.969 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.3222, allocations: 20 kB / 0.8546 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3233, allocations: 0.5906 MB / 0.8551 GB, free: 6.355 MB / 0.67 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.003692/0.327, allocations: 3.563 MB / 0.8586 GB, free: 2.562 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.3275, allocations: 274.3 kB / 0.8589 GB, free: 2.285 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.3279, allocations: 188.8 kB / 0.859 GB, free: 2.098 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.3284, allocations: 0.6531 MB / 0.8597 GB, free: 1.297 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3284, allocations: 46.5 kB / 0.8597 GB, free: 1.242 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.3284, allocations: 0 / 0.8597 GB, free: 1.242 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001194/0.3296, allocations: 0.541 MB / 0.8603 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3297, allocations: 59.41 kB / 0.8603 GB, free: 0.625 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3308, allocations: 0.9176 MB / 0.8612 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.3308, allocations: 41.7 kB / 0.8613 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.3312, allocations: 499.5 kB / 0.8617 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.3313, allocations: 118.4 kB / 0.8618 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.3314, allocations: 49.69 kB / 0.8619 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3315, allocations: 325.9 kB / 0.8622 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.3319, allocations: 181 kB / 0.8624 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.3324, allocations: 363.5 kB / 0.8627 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.3332, allocations: 0.5381 MB / 0.8632 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3332, allocations: 0 / 0.8632 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001065/0.3343, allocations: 0.6329 MB / 0.8639 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3343, allocations: 8 kB / 0.8639 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.3343, allocations: 4 kB / 0.8639 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3344, allocations: 8.438 kB / 0.8639 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3348, allocations: 131.8 kB / 0.864 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.3348, allocations: 15.92 kB / 0.864 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/0.3356, allocations: 115.2 kB / 0.8641 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.3356, allocations: 27.94 kB / 0.8642 GB, free: 12.48 MB / 0.6856 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.0003833/0.336, allocations: 278.7 kB / 0.8644 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.3362, allocations: 98.78 kB / 0.8645 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.3371, allocations: 0.5003 MB / 0.865 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3372, allocations: 0 / 0.865 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3372, allocations: 4 kB / 0.865 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007159/0.3379, allocations: 476.8 kB / 0.8655 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.34, allocations: 1.381 MB / 0.8668 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.34, allocations: 0 / 0.8668 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3403, allocations: 91.75 kB / 0.8669 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3403, allocations: 4 kB / 0.8669 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3404, allocations: 8 kB / 0.8669 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3404, allocations: 8.156 kB / 0.8669 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3404, allocations: 0 / 0.8669 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3416, allocations: 0.7928 MB / 0.8677 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.342, allocations: 251.6 kB / 0.8679 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.3421, allocations: 4 kB / 0.8679 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.3427, allocations: 56 kB / 0.868 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3428, allocations: 23.97 kB / 0.868 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.3428, allocations: 19.98 kB / 0.868 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008042/0.3436, allocations: 0.6547 MB / 0.8687 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3436, allocations: 0 / 0.8687 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009393/0.3446, allocations: 327.4 kB / 0.869 GB, free: 7.363 MB / 0.6856 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.0007433/0.3453, allocations: 385.9 kB / 0.8694 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008751/0.3462, allocations: 440.2 kB / 0.8698 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3462, allocations: 384 / 0.8698 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.3466, allocations: 203.8 kB / 0.87 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.3496, allocations: 0.5964 MB / 0.8706 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.3521, allocations: 1.981 MB / 0.8725 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.3527, allocations: 1.032 MB / 0.8735 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007544/0.3535, allocations: 200.1 kB / 0.8737 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3536, allocations: 79.42 kB / 0.8738 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of SimCode: time 3.71e-07/0.3536, allocations: 0 / 0.8738 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of Templates: time 0.03317/0.3868, allocations: 20.28 MB / 0.8936 GB, free: 14.41 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: