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.0009585/0.0009584, allocations: 98.66 kB / 16.02 MB, free: 80 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.0008667/0.0008668, allocations: 182.2 kB / 16.92 MB, free: 6.754 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7048/0.7048, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 9.141 kB / 496 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3183/0.4609, allocations: 75.26 MB / 0.6335 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02936/0.4903, allocations: 18.76 MB / 0.6519 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.4942, allocations: 98.97 kB / 0.652 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.4975, allocations: 1.023 MB / 0.653 GB, free: 4.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009579/0.5071, allocations: 3.38 MB / 0.6563 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.5119, allocations: 1.905 MB / 0.6581 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009599/0.5215, allocations: 8.886 MB / 0.6668 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.5242, allocations: 1.681 MB / 0.6684 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.528, allocations: 1.882 MB / 0.6703 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.531, allocations: 1.707 MB / 0.6719 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.5314, allocations: 72 kB / 0.672 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.5353, allocations: 1.442 MB / 0.6734 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007011/0.536, allocations: 414 kB / 0.6738 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.538, allocations: 1.117 MB / 0.6749 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.5434, allocations: 3.57 MB / 0.6784 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5434, allocations: 4 kB / 0.6784 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5434, allocations: 0 / 0.6784 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.445e-05/0.5435, allocations: 0 / 0.6784 GB, free: 13.53 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.004296/0.5478, allocations: 2.295 MB / 0.6806 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5479, allocations: 8.031 kB / 0.6806 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.5481, allocations: 210.8 kB / 0.6808 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/0.5487, allocations: 270.2 kB / 0.6811 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.5516, allocations: 1.969 MB / 0.683 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.5516, allocations: 114.6 kB / 0.6831 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.5518, allocations: 140 kB / 0.6833 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.5543, allocations: 1.532 MB / 0.6848 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.5543, allocations: 7.844 kB / 0.6848 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5544, allocations: 60 kB / 0.6848 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.5545, allocations: 43.98 kB / 0.6849 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5566, allocations: 1.165 MB / 0.686 GB, free: 5.523 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.00732/0.564, allocations: 7.599 MB / 0.6934 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/0.5649, allocations: 496.5 kB / 0.6939 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.5656, allocations: 362.2 kB / 0.6943 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008018/0.5664, allocations: 1.152 MB / 0.6954 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.5664, allocations: 39.12 kB / 0.6954 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=59): time 2.354e-06/0.5665, allocations: 0 / 0.6954 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59): time 0.002159/0.5686, allocations: 1.035 MB / 0.6964 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5687, allocations: 55.97 kB / 0.6965 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.5709, allocations: 1.752 MB / 0.6982 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.571, allocations: 45.7 kB / 0.6982 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/0.5717, allocations: 0.9278 MB / 0.6991 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.5719, allocations: 228.9 kB / 0.6994 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.572, allocations: 93.66 kB / 0.6994 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5721, allocations: 349.9 kB / 0.6998 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.5729, allocations: 350.4 kB / 0.7001 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/0.5738, allocations: 0.7095 MB / 0.7008 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5755, allocations: 1.055 MB / 0.7018 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.5755, allocations: 4 kB / 0.7018 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002225/0.5778, allocations: 1.257 MB / 0.7031 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5778, allocations: 12 kB / 0.7031 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5778, allocations: 12 kB / 0.7031 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5778, allocations: 12 kB / 0.7031 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5789, allocations: 319.5 kB / 0.7034 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.5789, allocations: 23.92 kB / 0.7034 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5804, allocations: 255.9 kB / 0.7037 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.5805, allocations: 48 kB / 0.7037 GB, free: 2.148 MB / 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.0007721/0.5813, allocations: 433.4 kB / 0.7041 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.5816, allocations: 205.6 kB / 0.7043 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5835, allocations: 0.908 MB / 0.7052 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5835, allocations: 4 kB / 0.7052 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5835, allocations: 3.984 kB / 0.7052 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.5849, allocations: 0.8386 MB / 0.706 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.5889, allocations: 2.482 MB / 0.7085 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5889, allocations: 8 kB / 0.7085 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.5897, allocations: 207.7 kB / 0.7087 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.5897, allocations: 4 kB / 0.7087 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.5898, allocations: 19.98 kB / 0.7087 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.5898, allocations: 4 kB / 0.7087 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5898, allocations: 7.938 kB / 0.7087 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5921, allocations: 1.402 MB / 0.7101 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.5928, allocations: 402.2 kB / 0.7105 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.593, allocations: 20 kB / 0.7105 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5942, allocations: 123.7 kB / 0.7106 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5943, allocations: 48.44 kB / 0.7106 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.5944, allocations: 35.97 kB / 0.7107 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001593/0.596, allocations: 1.216 MB / 0.7119 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.596, allocations: 0 / 0.7119 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001663/0.5977, allocations: 0.6434 MB / 0.7125 GB, free: 8.938 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.0036/0.6013, allocations: 2.43 MB / 0.7149 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.6029, allocations: 0.8632 MB / 0.7157 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6029, allocations: 0 / 0.7157 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.6037, allocations: 375.8 kB / 0.7161 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006218/0.6099, allocations: 1.205 MB / 0.7172 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/0.6364, allocations: 14.93 MB / 0.7318 GB, free: 3.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6375, allocations: 1.405 MB / 0.7332 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001528/0.6391, allocations: 384.2 kB / 0.7336 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009282/0.64, allocations: 0.7726 MB / 0.7343 GB, free: 1.391 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.64, allocations: 0 / 0.7343 GB, free: 1.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4115/1.051, allocations: 55.47 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/1.052, allocations: 261 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/4.296, allocations: 2.375 kB / 0.7887 GB, free: 10.29 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)