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.001852/0.001852, allocations: 118 kB / 17.84 MB, free: 5.234 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.002045/0.002045, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.56/1.56, allocations: 230.6 MB / 254.2 MB, free: 15.11 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 1.004/1.004, allocations: 150 MB / 460.2 MB, free: 5.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",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.002055/0.002055, allocations: 76.39 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 89.13 MB / 0.7239 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05095/0.2373, allocations: 42.12 MB / 0.765 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.2569, allocations: 10.42 MB / 0.7752 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.2595, allocations: 79.31 kB / 0.7752 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.2617, allocations: 0.6716 MB / 0.7759 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.2678, allocations: 1.981 MB / 0.7778 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.2714, allocations: 1.196 MB / 0.779 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005726/0.2772, allocations: 3.407 MB / 0.7823 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.2787, allocations: 0.8645 MB / 0.7832 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.2824, allocations: 1.442 MB / 0.7846 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.284, allocations: 0.9256 MB / 0.7855 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.2842, allocations: 100 kB / 0.7856 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.2864, allocations: 0.9124 MB / 0.7865 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.2868, allocations: 286.8 kB / 0.7867 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.2876, allocations: 0.6492 MB / 0.7874 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.2909, allocations: 1.981 MB / 0.7893 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.2909, allocations: 4 kB / 0.7893 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2909, allocations: 0 / 0.7893 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.291, allocations: 0 / 0.7893 GB, free: 0.7578 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.002744/0.2937, allocations: 1.552 MB / 0.7908 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2937, allocations: 12.03 kB / 0.7908 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.204e-05/0.2938, allocations: 18.19 kB / 0.7909 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.2939, allocations: 114.7 kB / 0.791 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.2943, allocations: 151.8 kB / 0.7911 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.2962, allocations: 1.121 MB / 0.7922 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.2963, allocations: 58 kB / 0.7923 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2964, allocations: 75.95 kB / 0.7923 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.2978, allocations: 0.7905 MB / 0.7931 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2979, allocations: 0 / 0.7931 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.2979, allocations: 31.98 kB / 0.7931 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.298, allocations: 24 kB / 0.7932 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2992, allocations: 0.571 MB / 0.7937 GB, free: 12.11 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.004953/0.3042, allocations: 3.711 MB / 0.7973 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.3048, allocations: 246.4 kB / 0.7976 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.3052, allocations: 166.5 kB / 0.7977 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.3058, allocations: 0.6492 MB / 0.7984 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3059, allocations: 46.56 kB / 0.7984 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/0.3059, allocations: 0 / 0.7984 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001395/0.3073, allocations: 0.5137 MB / 0.7989 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3073, allocations: 71.33 kB / 0.799 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3086, allocations: 0.9537 MB / 0.7999 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.3087, allocations: 29.7 kB / 0.7999 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.3092, allocations: 0.5004 MB / 0.8004 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3093, allocations: 119 kB / 0.8005 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3095, allocations: 122.1 kB / 0.8007 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3097, allocations: 322 kB / 0.801 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3101, allocations: 165 kB / 0.8011 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.3107, allocations: 358.8 kB / 0.8015 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.3116, allocations: 0.5109 MB / 0.802 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3116, allocations: 0 / 0.802 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001395/0.313, allocations: 0.622 MB / 0.8026 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.313, allocations: 4 kB / 0.8026 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.313, allocations: 8 kB / 0.8026 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.3131, allocations: 15.88 kB / 0.8026 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.3135, allocations: 123.8 kB / 0.8027 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.3136, allocations: 11.94 kB / 0.8027 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.3142, allocations: 83.48 kB / 0.8028 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.3143, allocations: 32.05 kB / 0.8028 GB, free: 2.121 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.0004167/0.3147, allocations: 270.8 kB / 0.8031 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.3149, allocations: 111.3 kB / 0.8032 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.316, allocations: 484.5 kB / 0.8037 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.316, allocations: 11.94 kB / 0.8037 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.316, allocations: 0 / 0.8037 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007904/0.3168, allocations: 449.5 kB / 0.8041 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.3191, allocations: 1.367 MB / 0.8054 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3191, allocations: 0 / 0.8054 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.3195, allocations: 71.89 kB / 0.8055 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3195, allocations: 4 kB / 0.8055 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.3195, allocations: 11.98 kB / 0.8055 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3195, allocations: 8.156 kB / 0.8055 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3195, allocations: 0 / 0.8055 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.321, allocations: 0.7797 MB / 0.8063 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.3213, allocations: 236.2 kB / 0.8065 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3214, allocations: 12 kB / 0.8065 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.3219, allocations: 31.95 kB / 0.8066 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.322, allocations: 32.02 kB / 0.8066 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.3221, allocations: 23.92 kB / 0.8066 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009864/0.3231, allocations: 0.6551 MB / 0.8073 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 7.938 kB / 0.8073 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001197/0.3243, allocations: 343.3 kB / 0.8076 GB, free: 13.07 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.002694/0.327, allocations: 1.563 MB / 0.8091 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3281, allocations: 409 kB / 0.8095 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3281, allocations: 0 / 0.8095 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.3285, allocations: 180.4 kB / 0.8097 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.3314, allocations: 0.6128 MB / 0.8103 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.3426, allocations: 6.871 MB / 0.817 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.3433, allocations: 1.04 MB / 0.818 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008256/0.3442, allocations: 192.5 kB / 0.8182 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.3447, allocations: 371.3 kB / 0.8185 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.3447, allocations: 0 / 0.8185 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06979/0.4145, allocations: 29.89 MB / 0.8477 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.82, allocations: 10.78 kB / 0.8477 GB, free: 3.949 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 15.062077542010229] Failed to read output from testmodel.py, exit status != 0: 10.976476137002464 11.009642209 10.713383563 Calling exit ...