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.001068/0.001068, allocations: 103.5 kB / 16.4 MB, free: 6.492 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.001031/0.001031, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.335/1.335, allocations: 222.9 MB / 241 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.7036/0.7036, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.73 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1486, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03724/0.1859, allocations: 41.55 MB / 0.6727 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.1998, allocations: 10.4 MB / 0.6828 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.2029, allocations: 59.69 kB / 0.6829 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.2051, allocations: 0.6366 MB / 0.6835 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.21, allocations: 1.891 MB / 0.6853 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.2128, allocations: 1.186 MB / 0.6865 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004015/0.2168, allocations: 3.391 MB / 0.6898 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.2183, allocations: 1.071 MB / 0.6909 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.2212, allocations: 1.266 MB / 0.6921 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.2224, allocations: 0.8828 MB / 0.693 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.2226, allocations: 103.9 kB / 0.693 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.2245, allocations: 0.8617 MB / 0.6939 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.2248, allocations: 275 kB / 0.6942 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006584/0.2255, allocations: 0.6338 MB / 0.6948 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.228, allocations: 1.928 MB / 0.6967 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.228, allocations: 0 / 0.6967 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.228, allocations: 0 / 0.6967 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.228, allocations: 0 / 0.6967 GB, free: 2.027 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.002266/0.2303, allocations: 1.511 MB / 0.6981 GB, free: 472 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2304, allocations: 8.031 kB / 0.6981 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.2307, allocations: 131.4 kB / 0.6983 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.2325, allocations: 1.107 MB / 0.6993 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.2326, allocations: 54 kB / 0.6994 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2327, allocations: 75.91 kB / 0.6995 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.234, allocations: 0.7982 MB / 0.7002 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.234, allocations: 0 / 0.7002 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.2341, allocations: 32 kB / 0.7003 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.2341, allocations: 20 kB / 0.7003 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2351, allocations: 0.5711 MB / 0.7009 GB, free: 13.59 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.003749/0.2389, allocations: 3.54 MB / 0.7043 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.2394, allocations: 270.4 kB / 0.7046 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2398, allocations: 176.8 kB / 0.7047 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/0.2403, allocations: 0.657 MB / 0.7054 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2403, allocations: 42.56 kB / 0.7054 GB, free: 8.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.2403, allocations: 0 / 0.7054 GB, free: 8.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001122/0.2414, allocations: 0.5093 MB / 0.7059 GB, free: 8.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.2415, allocations: 55.41 kB / 0.706 GB, free: 7.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2426, allocations: 0.9495 MB / 0.7069 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.2426, allocations: 33.7 kB / 0.7069 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.243, allocations: 0.4956 MB / 0.7074 GB, free: 6.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2431, allocations: 114.4 kB / 0.7075 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2433, allocations: 118 kB / 0.7076 GB, free: 6.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2434, allocations: 329.9 kB / 0.708 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2437, allocations: 165 kB / 0.7081 GB, free: 5.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.2442, allocations: 347 kB / 0.7084 GB, free: 5.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.2449, allocations: 0.5032 MB / 0.7089 GB, free: 4.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.2449, allocations: 0 / 0.7089 GB, free: 4.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001038/0.246, allocations: 0.6214 MB / 0.7095 GB, free: 4.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.246, allocations: 16.02 kB / 0.7096 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.246, allocations: 4 kB / 0.7096 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2461, allocations: 8 kB / 0.7096 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.2465, allocations: 119.8 kB / 0.7097 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2465, allocations: 11.94 kB / 0.7097 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.2471, allocations: 83.19 kB / 0.7098 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.2471, allocations: 27.98 kB / 0.7098 GB, free: 3.82 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.0003322/0.2475, allocations: 281.6 kB / 0.7101 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2476, allocations: 98.78 kB / 0.7102 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/0.2485, allocations: 480.5 kB / 0.7106 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2486, allocations: 4 kB / 0.7106 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2486, allocations: 4 kB / 0.7106 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007247/0.2493, allocations: 461.2 kB / 0.7111 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.2513, allocations: 1.366 MB / 0.7124 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2513, allocations: 0 / 0.7124 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.2516, allocations: 71.89 kB / 0.7125 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.2516, allocations: 7.938 kB / 0.7125 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2517, allocations: 12 kB / 0.7125 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2517, allocations: 8.156 kB / 0.7125 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.2517, allocations: 3.984 kB / 0.7125 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2529, allocations: 0.7596 MB / 0.7132 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.2532, allocations: 235.8 kB / 0.7135 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2533, allocations: 12.06 kB / 0.7135 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.2538, allocations: 23.97 kB / 0.7135 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.2539, allocations: 32.02 kB / 0.7135 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.2539, allocations: 20 kB / 0.7135 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007908/0.2547, allocations: 0.6588 MB / 0.7142 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2547, allocations: 0 / 0.7142 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009246/0.2557, allocations: 335.5 kB / 0.7145 GB, free: 14.81 MB / 0.5606 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.0006954/0.2564, allocations: 396.3 kB / 0.7149 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008183/0.2572, allocations: 433.3 kB / 0.7153 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2572, allocations: 384 / 0.7153 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.2576, allocations: 195.8 kB / 0.7155 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.2598, allocations: 0.616 MB / 0.7161 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.2621, allocations: 1.582 MB / 0.7176 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.2626, allocations: 1.036 MB / 0.7186 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005476/0.2632, allocations: 200.3 kB / 0.7188 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2633, allocations: 79.42 kB / 0.7189 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2633, allocations: 0 / 0.7189 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.05081/0.3142, allocations: 21.37 MB / 0.7398 GB, free: 5.098 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)