Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 221.1 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9995/0.9995, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 70.2 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1921, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4554/0.6475, allocations: 38.42 MB / 0.7657 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.6614, allocations: 9.668 MB / 0.7751 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.6641, allocations: 81.03 kB / 0.7752 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.6663, allocations: 0.6354 MB / 0.7758 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007558/0.6738, allocations: 2.01 MB / 0.7778 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.6779, allocations: 1.208 MB / 0.779 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006302/0.6842, allocations: 3.464 MB / 0.7823 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.686, allocations: 0.8048 MB / 0.7831 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.6908, allocations: 1.476 MB / 0.7846 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.6933, allocations: 0.8892 MB / 0.7854 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.6938, allocations: 99.91 kB / 0.7855 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.697, allocations: 0.7038 MB / 0.7862 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.6976, allocations: 295.7 kB / 0.7865 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.6995, allocations: 0.5134 MB / 0.787 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.7047, allocations: 1.963 MB / 0.7889 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7047, allocations: 1.344 kB / 0.7889 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7047, allocations: 0 / 0.7889 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.145e-05/0.7048, allocations: 0 / 0.7889 GB, free: 4.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004564/0.7094, allocations: 1.477 MB / 0.7904 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7094, allocations: 9.625 kB / 0.7904 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/0.7097, allocations: 116.2 kB / 0.7905 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/0.7103, allocations: 139.1 kB / 0.7906 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.7124, allocations: 1.068 MB / 0.7917 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.7125, allocations: 54.62 kB / 0.7917 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7126, allocations: 71.38 kB / 0.7918 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.714, allocations: 0.943 MB / 0.7927 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.714, allocations: 5.938 kB / 0.7927 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.7141, allocations: 31.34 kB / 0.7927 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.7141, allocations: 25.12 kB / 0.7928 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.7153, allocations: 0.5673 MB / 0.7933 GB, free: 2.227 MB / 0.5762 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.004027/0.7193, allocations: 2.743 MB / 0.796 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.7198, allocations: 246.5 kB / 0.7962 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.7202, allocations: 160.6 kB / 0.7964 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.7204, allocations: 62.11 kB / 0.7964 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.7204, allocations: 37.38 kB / 0.7965 GB, free: 248 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.7204, allocations: 4 kB / 0.7965 GB, free: 244 kB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00122/0.7217, allocations: 0.5166 MB / 0.797 GB, free: 44 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.7217, allocations: 59 kB / 0.797 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.723, allocations: 0.9654 MB / 0.798 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.723, allocations: 36.61 kB / 0.798 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.7235, allocations: 0.5038 MB / 0.7985 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.7236, allocations: 117.5 kB / 0.7986 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.7238, allocations: 113.9 kB / 0.7987 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.724, allocations: 326.8 kB / 0.799 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.7243, allocations: 168.6 kB / 0.7992 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.725, allocations: 0.4981 MB / 0.7997 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.7259, allocations: 0.5023 MB / 0.8002 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.7259, allocations: 3.156 kB / 0.8002 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001352/0.7272, allocations: 0.63 MB / 0.8008 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7272, allocations: 7.188 kB / 0.8008 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7273, allocations: 4.781 kB / 0.8008 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.7273, allocations: 7.969 kB / 0.8008 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.7277, allocations: 126.4 kB / 0.8009 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.7278, allocations: 13.25 kB / 0.801 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.7285, allocations: 92.11 kB / 0.801 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.7286, allocations: 25.16 kB / 0.8011 GB, free: 13.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004591/0.729, allocations: 276.2 kB / 0.8013 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.7292, allocations: 104.7 kB / 0.8014 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.7303, allocations: 494.6 kB / 0.8019 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7303, allocations: 3.75 kB / 0.8019 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7303, allocations: 0 / 0.8019 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008187/0.7311, allocations: 459.2 kB / 0.8023 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.7334, allocations: 1.249 MB / 0.8036 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7334, allocations: 1.375 kB / 0.8036 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.7338, allocations: 77.58 kB / 0.8036 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.7338, allocations: 3.656 kB / 0.8036 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.7338, allocations: 11.31 kB / 0.8037 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.7338, allocations: 2.594 kB / 0.8037 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7338, allocations: 5.156 kB / 0.8037 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.7353, allocations: 0.7864 MB / 0.8044 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.7357, allocations: 146.9 kB / 0.8046 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7359, allocations: 11.25 kB / 0.8046 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.7364, allocations: 38.2 kB / 0.8046 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.7364, allocations: 29.62 kB / 0.8046 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.7365, allocations: 14.91 kB / 0.8047 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009237/0.7374, allocations: 0.667 MB / 0.8053 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7374, allocations: 0 / 0.8053 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001257/0.7387, allocations: 345.1 kB / 0.8056 GB, free: 11.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002498/0.7412, allocations: 1.578 MB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.7421, allocations: 412.9 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7421, allocations: 1.344 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.7425, allocations: 181.1 kB / 0.8077 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.7453, allocations: 0.6118 MB / 0.8083 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.7563, allocations: 6.875 MB / 0.8151 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.7568, allocations: 455.6 kB / 0.8155 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009021/0.7577, allocations: 199.1 kB / 0.8157 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.7583, allocations: 374.5 kB / 0.816 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.7583, allocations: 1.375 kB / 0.816 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08561/0.8439, allocations: 32.69 MB / 0.848 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.78, allocations: 19.59 kB / 0.848 GB, free: 9.992 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.877906665205956] Failed to read output from testmodel.py, exit status != 0: 13.912146111018956 13.94016351 13.230011145 Calling exit ...