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.001445/0.001445, allocations: 100.4 kB / 15.98 MB, free: 6.348 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.001343/0.001343, allocations: 195 kB / 16.91 MB, free: 6.191 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7078/0.7078, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3817, allocations: 76.16 MB / 0.556 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06616/0.4479, allocations: 76.49 MB / 0.6307 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02895/0.4769, allocations: 18.76 MB / 0.649 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005166/0.4821, allocations: 99.38 kB / 0.6491 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.4861, allocations: 1.08 MB / 0.6502 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.4964, allocations: 3.394 MB / 0.6535 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.5017, allocations: 1.936 MB / 0.6554 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009184/0.5109, allocations: 6.704 MB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.5143, allocations: 2.073 MB / 0.664 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.5199, allocations: 2.333 MB / 0.6662 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.523, allocations: 1.82 MB / 0.668 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000662/0.5236, allocations: 196 kB / 0.6682 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.528, allocations: 1.641 MB / 0.6698 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.5289, allocations: 0.541 MB / 0.6703 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.5315, allocations: 1.248 MB / 0.6715 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.5381, allocations: 3.731 MB / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5382, allocations: 0 / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5382, allocations: 0 / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001171/0.5383, allocations: 0 / 0.6752 GB, free: 10.29 MB / 0.5137 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.005907/0.5442, allocations: 2.715 MB / 0.6778 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.5443, allocations: 8.031 kB / 0.6778 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004031/0.5447, allocations: 202.8 kB / 0.678 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.5456, allocations: 269.9 kB / 0.6783 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.5493, allocations: 1.971 MB / 0.6802 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5494, allocations: 106.7 kB / 0.6803 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.5497, allocations: 155.8 kB / 0.6805 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.5527, allocations: 1.518 MB / 0.682 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.5528, allocations: 7.938 kB / 0.682 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.5529, allocations: 56 kB / 0.682 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.553, allocations: 39.98 kB / 0.6821 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.5553, allocations: 1.126 MB / 0.6832 GB, free: 1.918 MB / 0.5137 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.009645/0.565, allocations: 7.575 MB / 0.6906 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5661, allocations: 476.5 kB / 0.691 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/0.5667, allocations: 334.3 kB / 0.6913 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.5678, allocations: 1.148 MB / 0.6924 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.5679, allocations: 43.12 kB / 0.6925 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 3.146e-06/0.5679, allocations: 4 kB / 0.6925 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002394/0.5703, allocations: 0.9613 MB / 0.6934 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5703, allocations: 59.97 kB / 0.6935 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.5734, allocations: 1.755 MB / 0.6952 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.5735, allocations: 45.69 kB / 0.6952 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008213/0.5743, allocations: 0.9278 MB / 0.6962 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.5746, allocations: 217 kB / 0.6964 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.5749, allocations: 230.6 kB / 0.6966 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5751, allocations: 357.9 kB / 0.6969 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/0.5758, allocations: 326.4 kB / 0.6972 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5768, allocations: 0.6899 MB / 0.6979 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5785, allocations: 1.012 MB / 0.6989 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5785, allocations: 0 / 0.6989 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002501/0.581, allocations: 1.218 MB / 0.7001 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.5811, allocations: 12 kB / 0.7001 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5811, allocations: 8 kB / 0.7001 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.5811, allocations: 16 kB / 0.7001 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.5821, allocations: 291.4 kB / 0.7004 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/0.5821, allocations: 23.92 kB / 0.7004 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.5837, allocations: 244.8 kB / 0.7007 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.5838, allocations: 48 kB / 0.7007 GB, free: 14.71 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.0008101/0.5847, allocations: 438.3 kB / 0.7011 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/0.5852, allocations: 197.6 kB / 0.7013 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.5872, allocations: 0.8679 MB / 0.7022 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5872, allocations: 12 kB / 0.7022 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5872, allocations: 0 / 0.7022 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.5885, allocations: 0.7957 MB / 0.7029 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.5929, allocations: 2.424 MB / 0.7053 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5929, allocations: 4 kB / 0.7053 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.5937, allocations: 180 kB / 0.7055 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5937, allocations: 4 kB / 0.7055 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.5937, allocations: 20 kB / 0.7055 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.5937, allocations: 7.984 kB / 0.7055 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5938, allocations: 7.938 kB / 0.7055 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.5962, allocations: 1.335 MB / 0.7068 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008009/0.597, allocations: 366.5 kB / 0.7072 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/0.5974, allocations: 15.98 kB / 0.7072 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5986, allocations: 119.7 kB / 0.7073 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5988, allocations: 52.44 kB / 0.7074 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.5989, allocations: 31.97 kB / 0.7074 GB, free: 7.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001811/0.6007, allocations: 1.224 MB / 0.7086 GB, free: 6.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6007, allocations: 0 / 0.7086 GB, free: 6.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001823/0.6025, allocations: 0.6318 MB / 0.7092 GB, free: 5.781 MB / 0.545 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.003809/0.6063, allocations: 2.37 MB / 0.7115 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.6083, allocations: 0.8862 MB / 0.7124 GB, free: 2.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6084, allocations: 8.625 kB / 0.7124 GB, free: 2.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.6091, allocations: 354.9 kB / 0.7127 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/0.6146, allocations: 1.204 MB / 0.7139 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.6447, allocations: 14.73 MB / 0.7283 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.6459, allocations: 1.416 MB / 0.7297 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001682/0.6476, allocations: 386.8 kB / 0.73 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.6486, allocations: 0.7609 MB / 0.7308 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6486, allocations: 0 / 0.7308 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3647/1.013, allocations: 56.16 MB / 0.7856 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/1.014, allocations: 262.5 kB / 0.7859 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.326, allocations: 0 / 0.7859 GB, free: 149.4 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)