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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006832/0.0006833, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007458/0.0007458, allocations: 175.9 kB / 16.58 MB, free: 6.492 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.192/1.192, allocations: 223.3 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6063/0.6063, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002736, allocations: 12 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2655/0.3782, allocations: 71.12 MB / 0.6264 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.3992, allocations: 17.72 MB / 0.6437 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.4017, allocations: 93.91 kB / 0.6437 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.4038, allocations: 0.8773 MB / 0.6446 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.41, allocations: 2.834 MB / 0.6474 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.4136, allocations: 1.494 MB / 0.6488 GB, free: 9.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007711/0.4213, allocations: 7.586 MB / 0.6562 GB, free: 4.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.4231, allocations: 1.453 MB / 0.6577 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.4262, allocations: 1.87 MB / 0.6595 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.428, allocations: 1.586 MB / 0.661 GB, free: 216 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.4281, allocations: 72 kB / 0.6611 GB, free: 144 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.4306, allocations: 0.9001 MB / 0.662 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.431, allocations: 386.2 kB / 0.6623 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.4314, allocations: 496.5 kB / 0.6628 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.4335, allocations: 2.675 MB / 0.6654 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4336, allocations: 0 / 0.6654 GB, free: 11.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.4336, allocations: 4 kB / 0.6654 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4336, allocations: 3.938 kB / 0.6654 GB, free: 11.68 MB / 494.1 MB 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.002965/0.4366, allocations: 2.31 MB / 0.6677 GB, free: 9.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4366, allocations: 16.03 kB / 0.6677 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.4368, allocations: 202.6 kB / 0.6679 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.4373, allocations: 265.1 kB / 0.6682 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.4397, allocations: 1.907 MB / 0.67 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.4398, allocations: 106.7 kB / 0.6701 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.44, allocations: 148 kB / 0.6703 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.4422, allocations: 1.524 MB / 0.6718 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.4422, allocations: 4 kB / 0.6718 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.4423, allocations: 56 kB / 0.6718 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.4423, allocations: 43.92 kB / 0.6719 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4442, allocations: 1.154 MB / 0.673 GB, free: 3.75 MB / 494.1 MB 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.006183/0.4504, allocations: 7.603 MB / 0.6804 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.4512, allocations: 489.3 kB / 0.6809 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.4518, allocations: 350.3 kB / 0.6812 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.4525, allocations: 1.156 MB / 0.6823 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.4525, allocations: 47.12 kB / 0.6824 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=59): time 1.933e-06/0.4525, allocations: 0 / 0.6824 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59): time 0.001739/0.4542, allocations: 1.02 MB / 0.6834 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.4543, allocations: 55.97 kB / 0.6834 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.456, allocations: 1.744 MB / 0.6851 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.4561, allocations: 41.7 kB / 0.6852 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.4567, allocations: 0.9278 MB / 0.6861 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.4569, allocations: 220.9 kB / 0.6863 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.4569, allocations: 20 kB / 0.6863 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4571, allocations: 353.9 kB / 0.6866 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.4577, allocations: 350.4 kB / 0.687 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.4585, allocations: 0.7055 MB / 0.6877 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.4593, allocations: 462.8 kB / 0.6881 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.4593, allocations: 4 kB / 0.6881 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001819/0.4611, allocations: 1.249 MB / 0.6893 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4612, allocations: 15.89 kB / 0.6893 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4612, allocations: 8 kB / 0.6894 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4612, allocations: 23.98 kB / 0.6894 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008963/0.4621, allocations: 320.2 kB / 0.6897 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.4621, allocations: 19.94 kB / 0.6897 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4633, allocations: 246.4 kB / 0.6899 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.4634, allocations: 51.98 kB / 0.69 GB, free: 1.238 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * 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.000541/0.4639, allocations: 433.4 kB / 0.6904 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4641, allocations: 193.7 kB / 0.6906 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.4657, allocations: 0.9105 MB / 0.6915 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4657, allocations: 8 kB / 0.6915 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4657, allocations: 4 kB / 0.6915 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.4669, allocations: 0.8347 MB / 0.6923 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.4703, allocations: 2.482 MB / 0.6947 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4704, allocations: 0 / 0.6947 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.4711, allocations: 204 kB / 0.6949 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4711, allocations: 8 kB / 0.6949 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.4711, allocations: 16 kB / 0.6949 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4712, allocations: 7.938 kB / 0.6949 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4712, allocations: 4 kB / 0.695 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4732, allocations: 1.398 MB / 0.6963 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.4737, allocations: 398.3 kB / 0.6967 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.4739, allocations: 23.98 kB / 0.6967 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.4748, allocations: 124.2 kB / 0.6968 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.4749, allocations: 52.45 kB / 0.6969 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.475, allocations: 39.97 kB / 0.6969 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001399/0.4764, allocations: 1.2 MB / 0.6981 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4764, allocations: 0 / 0.6981 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001391/0.4778, allocations: 0.6356 MB / 0.6987 GB, free: 8.059 MB / 0.5137 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 () * Number of clocked 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.002962/0.4808, allocations: 2.402 MB / 0.7011 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.4822, allocations: 0.8515 MB / 0.7019 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4822, allocations: 0 / 0.7019 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.4829, allocations: 375.7 kB / 0.7023 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/0.4873, allocations: 1.204 MB / 0.7034 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/0.5077, allocations: 11.21 MB / 0.7144 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.5085, allocations: 1.405 MB / 0.7158 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001492/0.51, allocations: 387.8 kB / 0.7161 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.5109, allocations: 0.7609 MB / 0.7169 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of SimCode: time 6.42e-07/0.5109, allocations: 0 / 0.7169 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/0.5862, allocations: 56.49 MB / 0.772 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.5864, allocations: 248.3 kB / 0.7723 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.218, allocations: 0 / 0.7723 GB, free: 12.37 MB / 0.5919 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) Environment - environmentSimulation: