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.001453/0.001453, allocations: 108.5 kB / 17.12 MB, free: 5.926 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.001557/0.001557, allocations: 205 kB / 20.09 MB, free: 2.977 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9878/0.9878, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.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.001949/0.001949, allocations: 74.25 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2016, allocations: 89.14 MB / 0.7232 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04709/0.2487, allocations: 42.12 MB / 0.7643 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.2647, allocations: 10.42 MB / 0.7745 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.2668, allocations: 79.31 kB / 0.7746 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.2687, allocations: 0.6677 MB / 0.7752 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.2742, allocations: 1.981 MB / 0.7772 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.2775, allocations: 1.191 MB / 0.7783 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005379/0.2829, allocations: 3.403 MB / 0.7816 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.2842, allocations: 0.8762 MB / 0.7825 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.2876, allocations: 1.45 MB / 0.7839 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.2888, allocations: 0.9178 MB / 0.7848 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2889, allocations: 100 kB / 0.7849 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.2913, allocations: 0.9124 MB / 0.7858 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.2917, allocations: 286.8 kB / 0.7861 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008885/0.2925, allocations: 0.6337 MB / 0.7867 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.2967, allocations: 1.997 MB / 0.7886 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2967, allocations: 0 / 0.7886 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2967, allocations: 0 / 0.7886 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.2967, allocations: 0 / 0.7886 GB, free: 0.7539 MB / 0.5919 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.002952/0.2996, allocations: 1.548 MB / 0.7901 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2997, allocations: 12.03 kB / 0.7902 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.2998, allocations: 114.7 kB / 0.7903 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.3002, allocations: 144.1 kB / 0.7904 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.3021, allocations: 1.125 MB / 0.7915 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.3022, allocations: 54 kB / 0.7916 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3023, allocations: 75.95 kB / 0.7916 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.3038, allocations: 0.7943 MB / 0.7924 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.3038, allocations: 7.984 kB / 0.7924 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.3039, allocations: 28 kB / 0.7924 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.3039, allocations: 20 kB / 0.7925 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3051, allocations: 0.5711 MB / 0.793 GB, free: 12.13 MB / 0.6075 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.004582/0.3097, allocations: 3.711 MB / 0.7966 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.3103, allocations: 250.3 kB / 0.7969 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.3107, allocations: 160.8 kB / 0.797 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.3113, allocations: 0.6648 MB / 0.7977 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3113, allocations: 34.56 kB / 0.7977 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/0.3113, allocations: 0 / 0.7977 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001278/0.3126, allocations: 0.5215 MB / 0.7982 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3126, allocations: 59.33 kB / 0.7983 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3139, allocations: 0.9537 MB / 0.7992 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.3139, allocations: 37.7 kB / 0.7992 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.3144, allocations: 0.4927 MB / 0.7997 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.3145, allocations: 123 kB / 0.7998 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3147, allocations: 114.2 kB / 0.8 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3149, allocations: 326 kB / 0.8003 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.3153, allocations: 169 kB / 0.8004 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.3158, allocations: 354.8 kB / 0.8008 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.3168, allocations: 0.5109 MB / 0.8013 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3168, allocations: 4 kB / 0.8013 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001335/0.3181, allocations: 0.6098 MB / 0.8019 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3181, allocations: 8 kB / 0.8019 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.3181, allocations: 8.062 kB / 0.8019 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.3182, allocations: 12.58 kB / 0.8019 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.3187, allocations: 135.7 kB / 0.802 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3187, allocations: 11.94 kB / 0.802 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/0.3193, allocations: 83.48 kB / 0.8021 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.3194, allocations: 27.98 kB / 0.8021 GB, free: 2.145 MB / 0.6075 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.0004089/0.3198, allocations: 270.8 kB / 0.8024 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.32, allocations: 107.3 kB / 0.8025 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.321, allocations: 495.8 kB / 0.803 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.321, allocations: 0 / 0.803 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.321, allocations: 7.938 kB / 0.803 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/0.3218, allocations: 453.5 kB / 0.8034 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.3242, allocations: 1.359 MB / 0.8047 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3242, allocations: 8.031 kB / 0.8047 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.3246, allocations: 75.83 kB / 0.8048 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3246, allocations: 4 kB / 0.8048 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.3247, allocations: 12 kB / 0.8048 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3247, allocations: 3.984 kB / 0.8048 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3247, allocations: 4 kB / 0.8048 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3261, allocations: 0.7836 MB / 0.8056 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.3265, allocations: 236.3 kB / 0.8058 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.3266, allocations: 8 kB / 0.8058 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.3271, allocations: 23.97 kB / 0.8059 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.3272, allocations: 27.95 kB / 0.8059 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.3273, allocations: 19.98 kB / 0.8059 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00102/0.3283, allocations: 0.6669 MB / 0.8066 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.3283, allocations: 0 / 0.8066 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001108/0.3294, allocations: 347.2 kB / 0.8069 GB, free: 13.1 MB / 0.6231 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.0024/0.3318, allocations: 1.566 MB / 0.8084 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009577/0.3327, allocations: 408.1 kB / 0.8088 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3327, allocations: 0 / 0.8088 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3331, allocations: 168.5 kB / 0.809 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.3367, allocations: 0.6141 MB / 0.8096 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.3524, allocations: 6.88 MB / 0.8163 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.3534, allocations: 1.032 MB / 0.8173 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001281/0.3547, allocations: 199.6 kB / 0.8175 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/0.3555, allocations: 379.2 kB / 0.8178 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.3555, allocations: 0 / 0.8178 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.4622, allocations: 29.83 MB / 0.847 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.74, allocations: 14.27 kB / 0.847 GB, free: 4.012 MB / 0.6544 GB " [Timeout remaining time 649] (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: 14.962886901106685] Failed to read output from testmodel.py, exit status != 0: 10.83832751493901 10.873387112 10.570278708 Calling exit ...