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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 109.1 kB / 16.41 MB, free: 6.438 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.001207/0.001207, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.233/1.233, 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.6605/0.6605, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 68.5 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04243/0.174, allocations: 41.55 MB / 0.6722 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1888, allocations: 10.4 MB / 0.6823 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.1907, allocations: 59.62 kB / 0.6824 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.1929, allocations: 0.6443 MB / 0.683 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.1983, allocations: 1.884 MB / 0.6848 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.2014, allocations: 1.186 MB / 0.686 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.2061, allocations: 3.395 MB / 0.6893 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.2077, allocations: 1.063 MB / 0.6904 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.2106, allocations: 1.267 MB / 0.6916 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.2119, allocations: 0.8866 MB / 0.6925 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2121, allocations: 100 kB / 0.6926 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.2141, allocations: 0.8617 MB / 0.6934 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.2144, allocations: 279 kB / 0.6937 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.2151, allocations: 0.6259 MB / 0.6943 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.2177, allocations: 1.933 MB / 0.6962 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2177, allocations: 0 / 0.6962 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2177, allocations: 4 kB / 0.6962 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.2177, allocations: 0 / 0.6962 GB, free: 2.543 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.002574/0.2203, allocations: 1.503 MB / 0.6976 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2204, allocations: 15.97 kB / 0.6976 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.2205, allocations: 126.7 kB / 0.6978 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.2209, allocations: 131.4 kB / 0.6979 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.2228, allocations: 1.103 MB / 0.699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.2228, allocations: 58 kB / 0.699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2229, allocations: 79.89 kB / 0.6991 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2243, allocations: 0.7905 MB / 0.6999 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2243, allocations: 0 / 0.6999 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.2244, allocations: 28 kB / 0.6999 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.2244, allocations: 23.94 kB / 0.6999 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2256, allocations: 0.5672 MB / 0.7005 GB, free: 13.98 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.004106/0.2297, allocations: 3.544 MB / 0.7039 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.2303, allocations: 262.2 kB / 0.7042 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.2307, allocations: 176.8 kB / 0.7044 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/0.2312, allocations: 0.6609 MB / 0.705 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2312, allocations: 38.56 kB / 0.705 GB, free: 8.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.2313, allocations: 3.938 kB / 0.705 GB, free: 8.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001218/0.2325, allocations: 0.5132 MB / 0.7055 GB, free: 8.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2325, allocations: 51.41 kB / 0.7056 GB, free: 8.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.2336, allocations: 0.9534 MB / 0.7065 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.2337, allocations: 29.7 kB / 0.7066 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2341, allocations: 499.6 kB / 0.707 GB, free: 6.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.2342, allocations: 118.4 kB / 0.7071 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.2343, allocations: 118.1 kB / 0.7073 GB, free: 6.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2345, allocations: 333.8 kB / 0.7076 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.2348, allocations: 165 kB / 0.7077 GB, free: 6.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2353, allocations: 346.9 kB / 0.7081 GB, free: 5.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.2361, allocations: 0.511 MB / 0.7086 GB, free: 5.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2361, allocations: 0 / 0.7086 GB, free: 5.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001115/0.2373, allocations: 0.6132 MB / 0.7092 GB, free: 4.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2373, allocations: 9.875 kB / 0.7092 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2373, allocations: 8 kB / 0.7092 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2373, allocations: 8 kB / 0.7092 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.2378, allocations: 124.2 kB / 0.7093 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.2378, allocations: 12 kB / 0.7093 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.2384, allocations: 87.19 kB / 0.7094 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.2385, allocations: 27.94 kB / 0.7094 GB, free: 4.211 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.0003214/0.2388, allocations: 277.1 kB / 0.7097 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.2389, allocations: 98.78 kB / 0.7098 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009463/0.2399, allocations: 496.4 kB / 0.7103 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2399, allocations: 4 kB / 0.7103 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2399, allocations: 3.984 kB / 0.7103 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007158/0.2406, allocations: 460.9 kB / 0.7107 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.2426, allocations: 1.359 MB / 0.712 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2427, allocations: 0 / 0.712 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.243, allocations: 87.97 kB / 0.7121 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.243, allocations: 4 kB / 0.7121 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.2431, allocations: 8 kB / 0.7121 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2431, allocations: 4 kB / 0.7121 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2431, allocations: 3.938 kB / 0.7121 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2443, allocations: 0.7555 MB / 0.7129 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.2447, allocations: 231.7 kB / 0.7131 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2448, allocations: 15.98 kB / 0.7131 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.2453, allocations: 27.97 kB / 0.7131 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.2454, allocations: 27.91 kB / 0.7132 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.2454, allocations: 19.98 kB / 0.7132 GB, free: 208 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008181/0.2462, allocations: 0.6628 MB / 0.7138 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2463, allocations: 0 / 0.7138 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000946/0.2472, allocations: 339.5 kB / 0.7142 GB, free: 15.2 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.00214/0.2494, allocations: 1.587 MB / 0.7157 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008719/0.2502, allocations: 424.3 kB / 0.7161 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2503, allocations: 1.375 kB / 0.7161 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005538/0.2508, allocations: 196.3 kB / 0.7163 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.2541, allocations: 0.6081 MB / 0.7169 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009885/0.2641, allocations: 6.819 MB / 0.7235 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.2647, allocations: 1.036 MB / 0.7246 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007334/0.2655, allocations: 195.7 kB / 0.7247 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.2661, allocations: 375.2 kB / 0.7251 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.2661, allocations: 0 / 0.7251 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.263/1.529, allocations: 30.15 MB / 0.7545 GB, free: 107 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.28, allocations: 17.45 kB / 0.7546 GB, free: 107 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)