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.001579/0.001579, allocations: 116.5 kB / 17.04 MB, free: 6.133 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.001769/0.001769, allocations: 199 kB / 17.98 MB, free: 5.23 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.717/0.717, allocations: 115.3 MB / 407.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.14 kB / 0.5582 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 76.17 MB / 0.6326 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03723/0.194, allocations: 41.57 MB / 0.6732 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2085, allocations: 10.39 MB / 0.6833 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.2109, allocations: 55.69 kB / 0.6834 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.2129, allocations: 0.6482 MB / 0.684 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.2183, allocations: 1.88 MB / 0.6858 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.2213, allocations: 1.182 MB / 0.687 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.2259, allocations: 3.399 MB / 0.6903 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.2274, allocations: 1.067 MB / 0.6914 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.2306, allocations: 1.238 MB / 0.6926 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2322, allocations: 0.8789 MB / 0.6934 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.2323, allocations: 100 kB / 0.6935 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.2345, allocations: 0.8616 MB / 0.6944 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.2349, allocations: 283 kB / 0.6946 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.2357, allocations: 0.626 MB / 0.6952 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.2387, allocations: 1.936 MB / 0.6971 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2388, allocations: 0 / 0.6971 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2388, allocations: 0 / 0.6971 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.2388, allocations: 4 kB / 0.6971 GB, free: 2.168 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.00241/0.2412, allocations: 1.511 MB / 0.6986 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2413, allocations: 12.03 kB / 0.6986 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.2416, allocations: 139.4 kB / 0.6988 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.2433, allocations: 1.103 MB / 0.6998 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.2433, allocations: 58 kB / 0.6999 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2434, allocations: 71.91 kB / 0.7 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2447, allocations: 0.7943 MB / 0.7007 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2447, allocations: 0 / 0.7007 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.2448, allocations: 36 kB / 0.7008 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.2448, allocations: 20 kB / 0.7008 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2459, allocations: 0.5672 MB / 0.7013 GB, free: 13.73 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.003672/0.2495, allocations: 3.547 MB / 0.7048 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.2501, allocations: 262.4 kB / 0.7051 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.2504, allocations: 176.8 kB / 0.7052 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.2509, allocations: 0.6571 MB / 0.7059 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.251, allocations: 42.5 kB / 0.7059 GB, free: 8.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.251, allocations: 0 / 0.7059 GB, free: 8.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001195/0.2522, allocations: 0.5054 MB / 0.7064 GB, free: 8.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2522, allocations: 59.41 kB / 0.7065 GB, free: 8.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2533, allocations: 0.9456 MB / 0.7074 GB, free: 7.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.2534, allocations: 33.7 kB / 0.7074 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.2537, allocations: 0.4917 MB / 0.7079 GB, free: 6.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.2538, allocations: 114.4 kB / 0.708 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.254, allocations: 118.1 kB / 0.7081 GB, free: 6.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2541, allocations: 329.9 kB / 0.7084 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2545, allocations: 165 kB / 0.7086 GB, free: 5.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.2549, allocations: 343 kB / 0.7089 GB, free: 5.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.2558, allocations: 0.511 MB / 0.7094 GB, free: 4.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2558, allocations: 0 / 0.7094 GB, free: 4.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001106/0.2569, allocations: 0.6135 MB / 0.71 GB, free: 4.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2569, allocations: 9.719 kB / 0.71 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.257, allocations: 8 kB / 0.71 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.257, allocations: 11.98 kB / 0.71 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.2574, allocations: 119.8 kB / 0.7102 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.2574, allocations: 11.94 kB / 0.7102 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.258, allocations: 87.38 kB / 0.7103 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.2581, allocations: 27.98 kB / 0.7103 GB, free: 3.965 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.0003697/0.2585, allocations: 273.9 kB / 0.7105 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.2586, allocations: 98.78 kB / 0.7106 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.2596, allocations: 496.3 kB / 0.7111 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.2596, allocations: 4 kB / 0.7111 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/0.2596, allocations: 8 kB / 0.7111 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000685/0.2603, allocations: 460.9 kB / 0.7116 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.2622, allocations: 1.37 MB / 0.7129 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2622, allocations: 0 / 0.7129 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.2626, allocations: 75.89 kB / 0.713 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2626, allocations: 8.094 kB / 0.713 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.2626, allocations: 12 kB / 0.713 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2626, allocations: 4 kB / 0.713 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2626, allocations: 0 / 0.713 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2639, allocations: 0.7671 MB / 0.7137 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.2642, allocations: 235.6 kB / 0.714 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.855e-05/0.2643, allocations: 8 kB / 0.714 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.2648, allocations: 36.02 kB / 0.714 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.2649, allocations: 23.97 kB / 0.714 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.2649, allocations: 15.98 kB / 0.714 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008218/0.2657, allocations: 0.6666 MB / 0.7147 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2658, allocations: 0 / 0.7147 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009947/0.2668, allocations: 335.5 kB / 0.715 GB, free: 14.94 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.0007517/0.2675, allocations: 387 kB / 0.7154 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.2684, allocations: 429.3 kB / 0.7158 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2684, allocations: 4.062 kB / 0.7158 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.2688, allocations: 187.8 kB / 0.716 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.2713, allocations: 0.6169 MB / 0.7166 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2738, allocations: 1.619 MB / 0.7182 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.2744, allocations: 1.032 MB / 0.7192 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.2746, allocations: 87.41 kB / 0.7193 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.2746, allocations: 0 / 0.7193 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.02941/0.304, allocations: 17.98 MB / 0.7368 GB, free: 8.676 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)