Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4804/0.4804, allocations: 90.82 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 94.81 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.363e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4359, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7564/1.192, allocations: 378.3 MB / 0.9298 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.193, allocations: 95.17 kB / 0.9299 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086/4.279, allocations: 0.8136 GB / 1.743 GB, free: 62.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/4.279, allocations: 0 / 1.743 GB, free: 62.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005359/4.28, allocations: 63.38 kB / 1.743 GB, free: 62.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008901/4.289, allocations: 2.167 MB / 1.746 GB, free: 61.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/4.289, allocations: 11.7 kB / 1.746 GB, free: 61.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000798/4.289, allocations: 206.2 kB / 1.746 GB, free: 61.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/4.291, allocations: 268.8 kB / 1.746 GB, free: 61.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04924/4.34, allocations: 24.72 MB / 1.77 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/4.34, allocations: 106.1 kB / 1.77 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/4.341, allocations: 146.2 kB / 1.77 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/4.343, allocations: 1.392 MB / 1.772 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/4.343, allocations: 3.094 kB / 1.772 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/4.343, allocations: 59.52 kB / 1.772 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/4.343, allocations: 47.17 kB / 1.772 GB, free: 60.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/4.345, allocations: 0.952 MB / 1.773 GB, free: 60.07 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.008065/4.353, allocations: 7.561 MB / 1.78 GB, free: 55.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/4.354, allocations: 447.9 kB / 1.781 GB, free: 55.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/4.354, allocations: 281.9 kB / 1.781 GB, free: 55.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/4.355, allocations: 1.163 MB / 1.782 GB, free: 54.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/4.355, allocations: 38.78 kB / 1.782 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.927e-06/4.355, allocations: 1.438 kB / 1.782 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001211/4.356, allocations: 0.652 MB / 1.783 GB, free: 54.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/4.356, allocations: 63.47 kB / 1.783 GB, free: 54.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/4.358, allocations: 1.522 MB / 1.784 GB, free: 54.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.78e-05/4.358, allocations: 44.02 kB / 1.784 GB, free: 54.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/4.359, allocations: 0.9445 MB / 1.785 GB, free: 53.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/4.359, allocations: 218.2 kB / 1.785 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/4.359, allocations: 18.25 kB / 1.785 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/4.359, allocations: 342.9 kB / 1.786 GB, free: 53.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/4.359, allocations: 232.6 kB / 1.786 GB, free: 53.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/4.36, allocations: 0.6087 MB / 1.787 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/4.36, allocations: 342 kB / 1.787 GB, free: 52.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/4.36, allocations: 3.438 kB / 1.787 GB, free: 52.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001573/4.362, allocations: 0.988 MB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/4.362, allocations: 10.69 kB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/4.362, allocations: 8.25 kB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/4.362, allocations: 17.94 kB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/4.363, allocations: 225.4 kB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/4.363, allocations: 21.83 kB / 1.788 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/4.365, allocations: 238.6 kB / 1.788 GB, free: 52.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/4.365, allocations: 52.39 kB / 1.788 GB, free: 52.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002224/4.365, allocations: 171 kB / 1.789 GB, free: 52.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/4.365, allocations: 193.4 kB / 1.789 GB, free: 52.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/4.367, allocations: 0.7908 MB / 1.79 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/4.367, allocations: 7.812 kB / 1.79 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/4.367, allocations: 1.938 kB / 1.79 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007273/4.368, allocations: 0.7089 MB / 1.79 GB, free: 52.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/4.371, allocations: 2.382 MB / 1.793 GB, free: 51.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/4.371, allocations: 0 / 1.793 GB, free: 51.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/4.372, allocations: 180.5 kB / 1.793 GB, free: 51.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/4.372, allocations: 6.5 kB / 1.793 GB, free: 51.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/4.372, allocations: 20.27 kB / 1.793 GB, free: 51.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/4.372, allocations: 12.11 kB / 1.793 GB, free: 51.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/4.372, allocations: 4.125 kB / 1.793 GB, free: 51.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/4.374, allocations: 1.383 MB / 1.794 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/4.375, allocations: 409.3 kB / 1.795 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/4.375, allocations: 17.02 kB / 1.795 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/4.376, allocations: 131.2 kB / 1.795 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.377, allocations: 47.08 kB / 1.795 GB, free: 50.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/4.377, allocations: 37.45 kB / 1.795 GB, free: 50.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001876/4.378, allocations: 1.207 MB / 1.796 GB, free: 50.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/4.378, allocations: 0 / 1.796 GB, free: 50.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002564/4.381, allocations: 0.688 MB / 1.797 GB, free: 50.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003805/4.385, allocations: 3.274 MB / 1.8 GB, free: 48.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00118/4.386, allocations: 0.6512 MB / 1.8 GB, free: 48.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/4.386, allocations: 0 / 1.8 GB, free: 48.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/4.387, allocations: 319.5 kB / 1.801 GB, free: 48.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007504/4.394, allocations: 1.254 MB / 1.802 GB, free: 48.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/4.401, allocations: 2.855 MB / 1.805 GB, free: 47.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/4.402, allocations: 1.444 MB / 1.806 GB, free: 46.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001895/4.404, allocations: 393 kB / 1.807 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000995/4.405, allocations: 0.7617 MB / 1.807 GB, free: 46.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/4.405, allocations: 0 / 1.807 GB, free: 46.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/4.514, allocations: 63.4 MB / 1.869 GB, free: 15 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/4.515, allocations: 197.4 kB / 1.869 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/8.378, allocations: 0 / 1.869 GB, free: 14.78 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)