Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 116.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 285.2 kB / 303.6 MB, free: 3.652 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 180.9 MB / 0.5268 GB, free: 2.691 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 103.8 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4486, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03974/0.4884, allocations: 41.88 MB / 0.8588 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.5036, allocations: 10.41 MB / 0.8689 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.5053, allocations: 54.25 kB / 0.869 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.5069, allocations: 0.6735 MB / 0.8696 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.5116, allocations: 1.976 MB / 0.8716 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.5146, allocations: 1.197 MB / 0.8727 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004242/0.5189, allocations: 3.397 MB / 0.8761 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.5201, allocations: 0.8647 MB / 0.8769 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.5228, allocations: 1.268 MB / 0.8781 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.524, allocations: 0.9372 MB / 0.8791 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.5242, allocations: 103.7 kB / 0.8792 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.5261, allocations: 0.8784 MB / 0.88 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.5264, allocations: 292.7 kB / 0.8803 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.5271, allocations: 0.6342 MB / 0.8809 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.5296, allocations: 1.93 MB / 0.8828 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5296, allocations: 0 / 0.8828 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5296, allocations: 4 kB / 0.8828 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.5296, allocations: 1.688 kB / 0.8828 GB, free: 8.699 MB / 0.6231 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.002409/0.532, allocations: 1.55 MB / 0.8843 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5321, allocations: 13.23 kB / 0.8843 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.5324, allocations: 145.6 kB / 0.8845 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.5341, allocations: 1.101 MB / 0.8855 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.5341, allocations: 55.91 kB / 0.8856 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5342, allocations: 79.98 kB / 0.8857 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5356, allocations: 0.7832 MB / 0.8864 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.5356, allocations: 9.141 kB / 0.8864 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.5357, allocations: 27.75 kB / 0.8865 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.5357, allocations: 19 kB / 0.8865 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5368, allocations: 0.5674 MB / 0.887 GB, free: 5.676 MB / 0.6231 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.004059/0.5408, allocations: 3.565 MB / 0.8905 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.5414, allocations: 247.6 kB / 0.8908 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.5417, allocations: 166.5 kB / 0.8909 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/0.5423, allocations: 0.666 MB / 0.8916 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5423, allocations: 36.81 kB / 0.8916 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.5423, allocations: 0 / 0.8916 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001181/0.5435, allocations: 0.5213 MB / 0.8921 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5436, allocations: 55 kB / 0.8922 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5447, allocations: 0.9458 MB / 0.8931 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5448, allocations: 35.89 kB / 0.8931 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.5452, allocations: 0.4965 MB / 0.8936 GB, free: 156 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5453, allocations: 126 kB / 0.8937 GB, free: 44 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5455, allocations: 117.5 kB / 0.8938 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5456, allocations: 330 kB / 0.8942 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.546, allocations: 166.5 kB / 0.8943 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.5465, allocations: 347.1 kB / 0.8946 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.5473, allocations: 0.5125 MB / 0.8951 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5473, allocations: 2.125 kB / 0.8951 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001121/0.5485, allocations: 0.6191 MB / 0.8957 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5485, allocations: 7.531 kB / 0.8958 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5485, allocations: 9.359 kB / 0.8958 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5485, allocations: 7.594 kB / 0.8958 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.5489, allocations: 126.5 kB / 0.8959 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5489, allocations: 7.906 kB / 0.8959 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.5496, allocations: 86.81 kB / 0.896 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.5496, allocations: 25.53 kB / 0.896 GB, free: 14.45 MB / 0.6387 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.0003428/0.55, allocations: 280.9 kB / 0.8963 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.5501, allocations: 104.1 kB / 0.8964 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/0.5511, allocations: 492.9 kB / 0.8968 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5511, allocations: 2.75 kB / 0.8968 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5511, allocations: 1.375 kB / 0.8968 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007315/0.5518, allocations: 453.8 kB / 0.8973 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.554, allocations: 1.356 MB / 0.8986 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.554, allocations: 1.375 kB / 0.8986 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.5543, allocations: 81.59 kB / 0.8987 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5543, allocations: 10.44 kB / 0.8987 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.5543, allocations: 7.969 kB / 0.8987 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5543, allocations: 2.562 kB / 0.8987 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5543, allocations: 2.125 kB / 0.8987 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5557, allocations: 0.7679 MB / 0.8995 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.556, allocations: 235.4 kB / 0.8997 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5561, allocations: 10.98 kB / 0.8997 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.5566, allocations: 37.81 kB / 0.8997 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.5567, allocations: 32.36 kB / 0.8998 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.5568, allocations: 24.45 kB / 0.8998 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008722/0.5576, allocations: 0.6645 MB / 0.9004 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5576, allocations: 0 / 0.9004 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001032/0.5587, allocations: 337.6 kB / 0.9008 GB, free: 11.17 MB / 0.6387 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.0007815/0.5594, allocations: 385.6 kB / 0.9011 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009211/0.5604, allocations: 408.4 kB / 0.9015 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5604, allocations: 0 / 0.9015 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.5607, allocations: 173.5 kB / 0.9017 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.5634, allocations: 0.607 MB / 0.9023 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.5661, allocations: 1.665 MB / 0.9039 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.5668, allocations: 1.036 MB / 0.9049 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.567, allocations: 83.42 kB / 0.905 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.567, allocations: 7.875 kB / 0.905 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of Templates: time 0.02646/0.5935, allocations: 18.21 MB / 0.9228 GB, free: 4.738 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.122638744069263] Failed to read output from testmodel.py, exit status != 0: 0.6013240460306406 0.613271628 0.08090451900000001 Calling exit ...