Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 113.9 kB / 19.7 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 220.5 kB / 23.01 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.998/0.998, allocations: 150 MB / 463.1 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 73.08 kB / 0.6417 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1889, allocations: 89.16 MB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4292/0.6181, allocations: 42.51 MB / 0.7703 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.633, allocations: 10.46 MB / 0.7805 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.635, allocations: 83.75 kB / 0.7806 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.6369, allocations: 0.6749 MB / 0.7813 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.6425, allocations: 2.019 MB / 0.7832 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6456, allocations: 1.233 MB / 0.7845 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004945/0.6505, allocations: 3.496 MB / 0.7879 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.6519, allocations: 0.8135 MB / 0.7887 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.6556, allocations: 1.468 MB / 0.7901 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.6573, allocations: 0.9291 MB / 0.791 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.6575, allocations: 99.84 kB / 0.7911 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.6601, allocations: 0.9363 MB / 0.792 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.6604, allocations: 297.9 kB / 0.7923 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.661, allocations: 0.6263 MB / 0.7929 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.6641, allocations: 1.993 MB / 0.7949 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6641, allocations: 0 / 0.7949 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6641, allocations: 0 / 0.7949 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.6642, allocations: 1.375 kB / 0.7949 GB, free: 3.746 MB / 0.5762 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.00242/0.6666, allocations: 1.488 MB / 0.7963 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6666, allocations: 9.438 kB / 0.7963 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.667, allocations: 142.7 kB / 0.7965 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.6687, allocations: 1.055 MB / 0.7975 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.6687, allocations: 53.44 kB / 0.7975 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6688, allocations: 73.48 kB / 0.7976 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.6701, allocations: 0.79 MB / 0.7984 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.6701, allocations: 13.08 kB / 0.7984 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.6702, allocations: 31.72 kB / 0.7984 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.6702, allocations: 19.12 kB / 0.7984 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.6713, allocations: 0.5728 MB / 0.799 GB, free: 1.465 MB / 0.5762 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.004036/0.6753, allocations: 3.633 MB / 0.8025 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.6759, allocations: 249.4 kB / 0.8028 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.6762, allocations: 165.3 kB / 0.8029 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.6765, allocations: 59.53 kB / 0.803 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/0.6766, allocations: 44.81 kB / 0.803 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.035e-06/0.6766, allocations: 2.062 kB / 0.803 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001265/0.6778, allocations: 0.5103 MB / 0.8035 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.6779, allocations: 55.66 kB / 0.8036 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6792, allocations: 0.9629 MB / 0.8045 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.6793, allocations: 33.3 kB / 0.8046 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.6798, allocations: 0.5017 MB / 0.8051 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6799, allocations: 115 kB / 0.8052 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.6801, allocations: 122.1 kB / 0.8053 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.6803, allocations: 324.5 kB / 0.8056 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.6808, allocations: 161.3 kB / 0.8057 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.6814, allocations: 357.8 kB / 0.8061 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/0.6823, allocations: 0.514 MB / 0.8066 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6823, allocations: 2.125 kB / 0.8066 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001584/0.6839, allocations: 0.62 MB / 0.8072 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6839, allocations: 13.47 kB / 0.8072 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.684, allocations: 4.875 kB / 0.8072 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.684, allocations: 9 kB / 0.8072 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.6845, allocations: 123.5 kB / 0.8073 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.6845, allocations: 7.469 kB / 0.8073 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.6853, allocations: 95.86 kB / 0.8074 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.6853, allocations: 28.97 kB / 0.8075 GB, free: 11.98 MB / 0.5919 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.0004852/0.6858, allocations: 277.9 kB / 0.8077 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.686, allocations: 103.2 kB / 0.8078 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6871, allocations: 484.8 kB / 0.8083 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6871, allocations: 8.156 kB / 0.8083 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6871, allocations: 7.938 kB / 0.8083 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007973/0.6879, allocations: 461.7 kB / 0.8087 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.6906, allocations: 1.345 MB / 0.8101 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6906, allocations: 1.469 kB / 0.8101 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.6909, allocations: 71.3 kB / 0.8101 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6909, allocations: 3.438 kB / 0.8101 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.6909, allocations: 12.05 kB / 0.8101 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.691, allocations: 6.75 kB / 0.8101 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.691, allocations: 6.688 kB / 0.8102 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.6925, allocations: 0.7837 MB / 0.8109 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.693, allocations: 149.7 kB / 0.8111 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.6932, allocations: 16.27 kB / 0.8111 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.6937, allocations: 29.94 kB / 0.8111 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.6938, allocations: 33.98 kB / 0.8111 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.6938, allocations: 20.17 kB / 0.8112 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00108/0.6949, allocations: 0.6643 MB / 0.8118 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6949, allocations: 1.125 kB / 0.8118 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001495/0.6964, allocations: 342.8 kB / 0.8121 GB, free: 9.336 MB / 0.5919 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.0007727/0.6972, allocations: 368.8 kB / 0.8125 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.6982, allocations: 427.3 kB / 0.8129 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6982, allocations: 1.062 kB / 0.8129 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.6986, allocations: 175.9 kB / 0.8131 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7012, allocations: 0.6164 MB / 0.8137 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.7042, allocations: 1.617 MB / 0.8152 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/0.705, allocations: 1.041 MB / 0.8163 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006994/0.7057, allocations: 198.9 kB / 0.8165 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.7059, allocations: 79.61 kB / 0.8165 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.7059, allocations: 4 kB / 0.8165 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.03855/0.7445, allocations: 21.8 MB / 0.8378 GB, free: 7.145 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.013624414335936] Failed to read output from testmodel.py, exit status != 0: 0.7537227082066238 0.770570085 0.10298440199999995 Calling exit ...