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.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001218/0.001218, allocations: 109.8 kB / 17.09 MB, free: 5.984 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.001168/0.001168, allocations: 194.7 kB / 18.02 MB, free: 5.07 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.222/1.222, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6622/0.6622, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.27 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0381/0.1506, allocations: 41.54 MB / 0.6733 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1637, allocations: 10.41 MB / 0.6835 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.1651, allocations: 55.69 kB / 0.6835 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1667, allocations: 0.6443 MB / 0.6842 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.1708, allocations: 1.878 MB / 0.686 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1733, allocations: 1.189 MB / 0.6871 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003619/0.1769, allocations: 3.403 MB / 0.6905 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.1783, allocations: 1.071 MB / 0.6915 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.1807, allocations: 1.27 MB / 0.6928 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.1819, allocations: 0.875 MB / 0.6936 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.1821, allocations: 100 kB / 0.6937 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1837, allocations: 0.8617 MB / 0.6945 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.184, allocations: 287 kB / 0.6948 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.1846, allocations: 0.6299 MB / 0.6954 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.1869, allocations: 1.92 MB / 0.6973 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1869, allocations: 0 / 0.6973 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1869, allocations: 4 kB / 0.6973 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.187, allocations: 0 / 0.6973 GB, free: 2.043 MB / 0.5294 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.002285/0.1893, allocations: 1.515 MB / 0.6988 GB, free: 484 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1893, allocations: 8.031 kB / 0.6988 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.1897, allocations: 135.4 kB / 0.6989 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.1912, allocations: 1.103 MB / 0.7 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.1912, allocations: 54 kB / 0.7001 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.1914, allocations: 75.91 kB / 0.7001 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1926, allocations: 0.7944 MB / 0.7009 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1927, allocations: 3.938 kB / 0.7009 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.1927, allocations: 28 kB / 0.7009 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.1928, allocations: 16 kB / 0.701 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1938, allocations: 0.575 MB / 0.7015 GB, free: 13.61 MB / 0.545 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.003553/0.1974, allocations: 3.544 MB / 0.705 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.1979, allocations: 263.9 kB / 0.7052 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1983, allocations: 176.7 kB / 0.7054 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/0.1987, allocations: 0.6571 MB / 0.706 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1987, allocations: 34.56 kB / 0.7061 GB, free: 8.547 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.1987, allocations: 0 / 0.7061 GB, free: 8.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001079/0.1998, allocations: 0.5132 MB / 0.7066 GB, free: 8.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1999, allocations: 55.41 kB / 0.7066 GB, free: 7.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2009, allocations: 0.9495 MB / 0.7076 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.201, allocations: 37.64 kB / 0.7076 GB, free: 6.949 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.2014, allocations: 0.4918 MB / 0.7081 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.2015, allocations: 118.4 kB / 0.7082 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2016, allocations: 110.1 kB / 0.7083 GB, free: 6.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2017, allocations: 333.9 kB / 0.7086 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.2021, allocations: 169 kB / 0.7088 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.2025, allocations: 351 kB / 0.7091 GB, free: 5.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.2033, allocations: 0.5032 MB / 0.7096 GB, free: 4.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2033, allocations: 7.938 kB / 0.7096 GB, free: 4.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001069/0.2044, allocations: 0.6131 MB / 0.7102 GB, free: 4.102 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2044, allocations: 8 kB / 0.7102 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2045, allocations: 4 kB / 0.7102 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2045, allocations: 8.594 kB / 0.7102 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.2049, allocations: 131.8 kB / 0.7103 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.2049, allocations: 11.94 kB / 0.7104 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.2055, allocations: 87.19 kB / 0.7104 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.2055, allocations: 24 kB / 0.7105 GB, free: 3.832 MB / 0.545 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.0003026/0.2058, allocations: 273.6 kB / 0.7107 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.206, allocations: 98.78 kB / 0.7108 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.2069, allocations: 0.4886 MB / 0.7113 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006947/0.2076, allocations: 460.9 kB / 0.7117 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2076, allocations: 0 / 0.7117 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.2079, allocations: 215.8 kB / 0.7119 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.208, allocations: 15.94 kB / 0.712 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.2085, allocations: 27.95 kB / 0.712 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.2086, allocations: 24.25 kB / 0.712 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009822/0.2096, allocations: 0.4964 MB / 0.7125 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00122/0.2108, allocations: 0.8302 MB / 0.7133 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003215/0.2111, allocations: 183.8 kB / 0.7135 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007485/0.2119, allocations: 0.6548 MB / 0.7141 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.2119, allocations: 0 / 0.7141 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.2135, allocations: 0.6885 MB / 0.7148 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003797/0.2173, allocations: 2.458 MB / 0.7172 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.03084/0.2482, allocations: 21.46 MB / 0.7381 GB, free: 7.562 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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)