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.001358/0.001358, allocations: 103.8 kB / 16.27 MB, free: 6.402 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.001257/0.001257, allocations: 188 kB / 17.2 MB, free: 5.949 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.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6696/0.6696, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2638, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0541/0.3179, allocations: 77.15 MB / 0.6426 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.3394, allocations: 18.88 MB / 0.6611 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.3414, allocations: 107.4 kB / 0.6612 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.3436, allocations: 1.246 MB / 0.6624 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.3499, allocations: 3.626 MB / 0.6659 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.3536, allocations: 2.08 MB / 0.6679 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005541/0.3591, allocations: 6.681 MB / 0.6745 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.3611, allocations: 2.089 MB / 0.6765 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.3642, allocations: 2.292 MB / 0.6787 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.3658, allocations: 1.75 MB / 0.6805 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.3661, allocations: 200 kB / 0.6806 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.3689, allocations: 1.626 MB / 0.6822 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.3693, allocations: 0.5293 MB / 0.6828 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/0.3703, allocations: 1.252 MB / 0.684 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.3737, allocations: 3.7 MB / 0.6876 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3737, allocations: 3.984 kB / 0.6876 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3737, allocations: 3.938 kB / 0.6876 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.3737, allocations: 0 / 0.6876 GB, free: 15.2 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003385/0.3771, allocations: 2.711 MB / 0.6902 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3772, allocations: 8.625 kB / 0.6903 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.3774, allocations: 202.8 kB / 0.6904 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.3779, allocations: 270 kB / 0.6907 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.3803, allocations: 1.905 MB / 0.6926 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.3803, allocations: 106.7 kB / 0.6927 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3805, allocations: 140 kB / 0.6928 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.3826, allocations: 1.52 MB / 0.6943 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3827, allocations: 4 kB / 0.6943 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.3828, allocations: 59.98 kB / 0.6943 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.3828, allocations: 43.98 kB / 0.6944 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3848, allocations: 1.126 MB / 0.6955 GB, free: 6.914 MB / 0.5294 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.00674/0.3916, allocations: 7.657 MB / 0.703 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.3924, allocations: 472.6 kB / 0.7034 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.393, allocations: 330.4 kB / 0.7037 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007532/0.3938, allocations: 1.16 MB / 0.7049 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3938, allocations: 39.12 kB / 0.7049 GB, free: 12.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.703e-06/0.3938, allocations: 0 / 0.7049 GB, free: 12.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.001901/0.3957, allocations: 0.9574 MB / 0.7058 GB, free: 11.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3958, allocations: 63.95 kB / 0.7059 GB, free: 11.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.3976, allocations: 1.783 MB / 0.7076 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.3977, allocations: 41.7 kB / 0.7077 GB, free: 9.512 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.3983, allocations: 0.9316 MB / 0.7086 GB, free: 8.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3985, allocations: 221 kB / 0.7088 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.3988, allocations: 234.5 kB / 0.709 GB, free: 8.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3989, allocations: 357.8 kB / 0.7094 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.3996, allocations: 330.4 kB / 0.7097 GB, free: 7.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008964/0.4005, allocations: 0.686 MB / 0.7103 GB, free: 6.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.402, allocations: 1.012 MB / 0.7113 GB, free: 5.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.402, allocations: 7.984 kB / 0.7113 GB, free: 5.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002031/0.404, allocations: 1.21 MB / 0.7125 GB, free: 4.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.404, allocations: 10.03 kB / 0.7125 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4041, allocations: 16.09 kB / 0.7126 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.4041, allocations: 19.98 kB / 0.7126 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.405, allocations: 287.6 kB / 0.7128 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.4051, allocations: 23.92 kB / 0.7129 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.4061, allocations: 158.5 kB / 0.713 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.4062, allocations: 59.92 kB / 0.7131 GB, free: 3.656 MB / 0.545 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.0005884/0.4068, allocations: 438 kB / 0.7135 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.4071, allocations: 193.7 kB / 0.7137 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.4087, allocations: 0.8668 MB / 0.7145 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4087, allocations: 8 kB / 0.7145 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4087, allocations: 4 kB / 0.7145 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/0.4099, allocations: 0.7917 MB / 0.7153 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.4138, allocations: 2.447 MB / 0.7177 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4139, allocations: 4 kB / 0.7177 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.4146, allocations: 184 kB / 0.7179 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4147, allocations: 4 kB / 0.7179 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.4147, allocations: 19.98 kB / 0.7179 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.4147, allocations: 7.938 kB / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4147, allocations: 0 / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.4172, allocations: 1.339 MB / 0.7192 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.4179, allocations: 370.5 kB / 0.7196 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.4181, allocations: 16 kB / 0.7196 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.419, allocations: 63.86 kB / 0.7196 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4191, allocations: 48.5 kB / 0.7197 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.4192, allocations: 43.97 kB / 0.7197 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001576/0.4208, allocations: 1.243 MB / 0.7209 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4208, allocations: 0 / 0.7209 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001536/0.4223, allocations: 0.6512 MB / 0.7216 GB, free: 10.7 MB / 0.5606 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.003286/0.4256, allocations: 2.385 MB / 0.7239 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.4274, allocations: 0.8865 MB / 0.7248 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4275, allocations: 12.31 kB / 0.7248 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.4281, allocations: 346.9 kB / 0.7251 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/0.4326, allocations: 1.211 MB / 0.7263 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4489, allocations: 14.23 MB / 0.7402 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.4498, allocations: 1.409 MB / 0.7416 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001336/0.4511, allocations: 382.8 kB / 0.7419 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/0.452, allocations: 0.7648 MB / 0.7427 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.452, allocations: 0 / 0.7427 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.833/3.285, allocations: 57.3 MB / 0.7986 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/14.64, allocations: 8.594 kB / 0.7987 GB, free: 129.3 MB / 0.5762 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)