Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.000825, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009232/0.0009234, allocations: 176.3 kB / 16.92 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6761/0.6761, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.17, allocations: 77.55 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3418/0.5119, allocations: 75.26 MB / 0.6335 GB, free: 4.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.5379, allocations: 18.76 MB / 0.6518 GB, free: 5.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.5415, allocations: 95.28 kB / 0.6519 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.5444, allocations: 1.026 MB / 0.6529 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009415/0.5538, allocations: 3.378 MB / 0.6562 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005181/0.559, allocations: 1.903 MB / 0.658 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.5698, allocations: 8.884 MB / 0.6667 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.5724, allocations: 1.679 MB / 0.6683 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/0.5767, allocations: 1.897 MB / 0.6702 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.5791, allocations: 1.695 MB / 0.6719 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.5793, allocations: 76 kB / 0.6719 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.5833, allocations: 1.442 MB / 0.6733 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004712/0.5838, allocations: 414 kB / 0.6737 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.5852, allocations: 1.125 MB / 0.6748 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.5896, allocations: 3.569 MB / 0.6783 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.5896, allocations: 3.984 kB / 0.6783 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5896, allocations: 0 / 0.6783 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.5897, allocations: 0 / 0.6783 GB, free: 13.59 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003702/0.5934, allocations: 2.298 MB / 0.6806 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5934, allocations: 8.031 kB / 0.6806 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.594, allocations: 262 kB / 0.6808 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.5969, allocations: 1.983 MB / 0.6828 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/0.597, allocations: 102.7 kB / 0.6829 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.5972, allocations: 148 kB / 0.683 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.5998, allocations: 1.544 MB / 0.6845 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.5999, allocations: 11.89 kB / 0.6845 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.6, allocations: 60 kB / 0.6846 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/0.6, allocations: 40 kB / 0.6846 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.6023, allocations: 1.165 MB / 0.6857 GB, free: 5.785 MB / 0.4981 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.007704/0.61, allocations: 7.591 MB / 0.6932 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.611, allocations: 496.5 kB / 0.6936 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.6117, allocations: 362.2 kB / 0.694 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008433/0.6126, allocations: 1.148 MB / 0.6951 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.6126, allocations: 43.22 kB / 0.6951 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 2.044e-06/0.6126, allocations: 3.938 kB / 0.6951 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59): time 0.002262/0.6149, allocations: 1.024 MB / 0.6961 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.6149, allocations: 59.97 kB / 0.6962 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.6172, allocations: 1.756 MB / 0.6979 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.6173, allocations: 37.7 kB / 0.698 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/0.6181, allocations: 0.9356 MB / 0.6989 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6183, allocations: 220.9 kB / 0.6991 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.6184, allocations: 97.66 kB / 0.6992 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6186, allocations: 345.9 kB / 0.6995 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.6193, allocations: 354.4 kB / 0.6998 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.6204, allocations: 0.7133 MB / 0.7005 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.6221, allocations: 1.051 MB / 0.7016 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.6221, allocations: 4 kB / 0.7016 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00241/0.6245, allocations: 1.265 MB / 0.7028 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6246, allocations: 13.56 kB / 0.7028 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6246, allocations: 8 kB / 0.7028 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.6246, allocations: 16 kB / 0.7028 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.6257, allocations: 315.7 kB / 0.7031 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.6258, allocations: 23.92 kB / 0.7032 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.6273, allocations: 250.4 kB / 0.7034 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.6274, allocations: 51.98 kB / 0.7034 GB, free: 2.418 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008529/0.6283, allocations: 441.4 kB / 0.7039 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.6286, allocations: 189.7 kB / 0.704 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.6304, allocations: 0.9136 MB / 0.7049 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6305, allocations: 8 kB / 0.7049 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6305, allocations: 0 / 0.7049 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.6319, allocations: 0.8348 MB / 0.7058 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/0.6359, allocations: 2.49 MB / 0.7082 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.636, allocations: 4 kB / 0.7082 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.6368, allocations: 211.8 kB / 0.7084 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6368, allocations: 4 kB / 0.7084 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.6369, allocations: 19.98 kB / 0.7084 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6369, allocations: 7.938 kB / 0.7084 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6369, allocations: 0 / 0.7084 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.6394, allocations: 1.398 MB / 0.7098 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007476/0.6402, allocations: 410.2 kB / 0.7102 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.6404, allocations: 16 kB / 0.7102 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.6415, allocations: 119.7 kB / 0.7103 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6416, allocations: 52.48 kB / 0.7104 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.6417, allocations: 35.97 kB / 0.7104 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001669/0.6434, allocations: 1.22 MB / 0.7116 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6434, allocations: 0 / 0.7116 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001661/0.645, allocations: 0.6356 MB / 0.7122 GB, free: 9.215 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001073/0.6461, allocations: 0.5923 MB / 0.7128 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.6479, allocations: 0.855 MB / 0.7136 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6479, allocations: 4 kB / 0.7136 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.6487, allocations: 376.1 kB / 0.714 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/0.655, allocations: 1.208 MB / 0.7152 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.6601, allocations: 3.829 MB / 0.7189 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.6611, allocations: 1.405 MB / 0.7203 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001489/0.6626, allocations: 376.5 kB / 0.7206 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.6629, allocations: 151.4 kB / 0.7208 GB, free: 364 kB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6629, allocations: 0 / 0.7208 GB, free: 364 kB / 0.5294 GB Notification: Performance of Templates: time 0.06537/0.7283, allocations: 40.09 MB / 0.7599 GB, free: 8.738 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)