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.001242/0.001242, allocations: 100.1 kB / 15.88 MB, free: 8 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.001165/0.001165, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6689/0.6689, allocations: 115.3 MB / 405.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.09 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1809, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4392/0.6201, allocations: 76.64 MB / 0.6307 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.6495, allocations: 18.97 MB / 0.6492 GB, free: 4.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.6546, allocations: 105.3 kB / 0.6493 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.6584, allocations: 1.026 MB / 0.6503 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.669, allocations: 3.374 MB / 0.6536 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005599/0.6747, allocations: 1.9 MB / 0.6555 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.6857, allocations: 8.882 MB / 0.6641 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.6891, allocations: 1.728 MB / 0.6658 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.6944, allocations: 1.948 MB / 0.6677 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.6982, allocations: 1.769 MB / 0.6695 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007373/0.6989, allocations: 96 kB / 0.6695 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.7046, allocations: 1.465 MB / 0.671 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.7058, allocations: 450 kB / 0.6714 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003183/0.709, allocations: 1.143 MB / 0.6725 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007171/0.7162, allocations: 3.645 MB / 0.6761 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.7162, allocations: 4 kB / 0.6761 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7162, allocations: 0 / 0.6761 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.347e-05/0.7163, allocations: 0 / 0.6761 GB, free: 11.88 MB / 0.4981 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.005836/0.7222, allocations: 2.715 MB / 0.6787 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.7222, allocations: 12.03 kB / 0.6787 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.7225, allocations: 202.8 kB / 0.6789 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.7234, allocations: 266.1 kB / 0.6792 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.727, allocations: 1.976 MB / 0.6811 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.7271, allocations: 110.6 kB / 0.6812 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.7273, allocations: 151.9 kB / 0.6814 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.7301, allocations: 1.513 MB / 0.6829 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.7302, allocations: 3.938 kB / 0.6829 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.7303, allocations: 63.98 kB / 0.6829 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.7304, allocations: 40 kB / 0.683 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.7327, allocations: 1.126 MB / 0.6841 GB, free: 3.512 MB / 0.4981 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.009424/0.7421, allocations: 7.563 MB / 0.6914 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.7432, allocations: 476.5 kB / 0.6919 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.7438, allocations: 330.3 kB / 0.6922 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.7449, allocations: 1.156 MB / 0.6933 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.7449, allocations: 43.12 kB / 0.6934 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 5.36e-06/0.7449, allocations: 3.984 kB / 0.6934 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59): time 0.002316/0.7472, allocations: 0.9652 MB / 0.6943 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.7473, allocations: 55.97 kB / 0.6944 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.7496, allocations: 1.755 MB / 0.6961 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.7497, allocations: 41.7 kB / 0.6961 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008232/0.7505, allocations: 0.9317 MB / 0.697 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.7508, allocations: 228.9 kB / 0.6973 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.7511, allocations: 230.6 kB / 0.6975 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7513, allocations: 345.9 kB / 0.6978 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.752, allocations: 330.4 kB / 0.6981 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.753, allocations: 0.686 MB / 0.6988 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.7546, allocations: 1.012 MB / 0.6998 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7546, allocations: 8 kB / 0.6998 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002464/0.7571, allocations: 1.21 MB / 0.701 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.7571, allocations: 8 kB / 0.701 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.7572, allocations: 12 kB / 0.701 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.7572, allocations: 16 kB / 0.701 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.7582, allocations: 300.2 kB / 0.7013 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.7583, allocations: 19.94 kB / 0.7013 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7599, allocations: 238.4 kB / 0.7015 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/0.76, allocations: 55.98 kB / 0.7016 GB, free: 312 kB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007518/0.7607, allocations: 435 kB / 0.702 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.7611, allocations: 193.6 kB / 0.7022 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.7629, allocations: 0.8677 MB / 0.703 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.7629, allocations: 8 kB / 0.703 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7629, allocations: 0 / 0.703 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/0.7643, allocations: 0.7957 MB / 0.7038 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.7684, allocations: 2.431 MB / 0.7062 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.7685, allocations: 3.938 kB / 0.7062 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/0.7693, allocations: 184 kB / 0.7064 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.7693, allocations: 4 kB / 0.7064 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.7694, allocations: 19.98 kB / 0.7064 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.7694, allocations: 4 kB / 0.7064 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.7694, allocations: 7.938 kB / 0.7064 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.7719, allocations: 1.335 MB / 0.7077 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.7726, allocations: 370.3 kB / 0.7081 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.7728, allocations: 16 kB / 0.7081 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.774, allocations: 121.8 kB / 0.7082 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.7741, allocations: 44.48 kB / 0.7082 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.7742, allocations: 35.98 kB / 0.7083 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001778/0.776, allocations: 1.22 MB / 0.7095 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.776, allocations: 0 / 0.7095 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002058/0.778, allocations: 0.6396 MB / 0.7101 GB, free: 7.375 MB / 0.5294 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 (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.004043/0.7821, allocations: 2.36 MB / 0.7124 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.7839, allocations: 0.8117 MB / 0.7132 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7839, allocations: 0 / 0.7132 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.7846, allocations: 356.4 kB / 0.7135 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/0.79, allocations: 1.203 MB / 0.7147 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/0.8207, allocations: 14.74 MB / 0.7291 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.8218, allocations: 1.405 MB / 0.7305 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001981/0.8238, allocations: 387.6 kB / 0.7308 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.8249, allocations: 0.7687 MB / 0.7316 GB, free: 160 kB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.8249, allocations: 0 / 0.7316 GB, free: 160 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0958/0.9207, allocations: 55.22 MB / 0.7855 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.921, allocations: 250.4 kB / 0.7858 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/4.486, allocations: 3.938 kB / 0.7858 GB, free: 9.289 MB / 0.6075 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/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)