Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008179/0.0008179, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001152/0.001152, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001866/0.001866, allocations: 233.5 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.658/0.658, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.909e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.257/0.257, allocations: 38.08 MB / 0.6835 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2671, allocations: 9.665 MB / 0.6929 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.2691, allocations: 80 kB / 0.693 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.2709, allocations: 0.6408 MB / 0.6936 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.2755, allocations: 2.059 MB / 0.6956 GB, free: 24.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.2783, allocations: 1.254 MB / 0.6969 GB, free: 23.65 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004697/0.283, allocations: 3.487 MB / 0.7003 GB, free: 21.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.2844, allocations: 0.8066 MB / 0.7011 GB, free: 21.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.288, allocations: 1.705 MB / 0.7027 GB, free: 20.72 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.2895, allocations: 0.7984 MB / 0.7035 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.2898, allocations: 102.9 kB / 0.7036 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.2916, allocations: 0.7319 MB / 0.7043 GB, free: 20.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.2919, allocations: 309.2 kB / 0.7046 GB, free: 19.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007818/0.2927, allocations: 439.8 kB / 0.705 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.2957, allocations: 1.947 MB / 0.7069 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2957, allocations: 4.781 kB / 0.7069 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2957, allocations: 0 / 0.7069 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.022e-05/0.2958, allocations: 4.656 kB / 0.7069 GB, free: 19.11 MB / 0.5573 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.002286/0.2981, allocations: 1.457 MB / 0.7084 GB, free: 18.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2981, allocations: 15.23 kB / 0.7084 GB, free: 18.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.2982, allocations: 119.5 kB / 0.7085 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.2985, allocations: 144.3 kB / 0.7086 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.2999, allocations: 1.039 MB / 0.7096 GB, free: 17.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3, allocations: 67.41 kB / 0.7097 GB, free: 17.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.3001, allocations: 71.61 kB / 0.7098 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.301, allocations: 0.9408 MB / 0.7107 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.301, allocations: 1.219 kB / 0.7107 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.3011, allocations: 31.66 kB / 0.7107 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.3011, allocations: 18.78 kB / 0.7107 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.3018, allocations: 0.5703 MB / 0.7113 GB, free: 16.24 MB / 0.5573 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.002564/0.3044, allocations: 2.733 MB / 0.714 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.3048, allocations: 243.4 kB / 0.7142 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.305, allocations: 163.5 kB / 0.7144 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.3052, allocations: 69.33 kB / 0.7144 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3052, allocations: 37.64 kB / 0.7145 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 3.457e-06/0.3052, allocations: 1.375 kB / 0.7145 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.0008056/0.306, allocations: 0.5212 MB / 0.715 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.306, allocations: 54.69 kB / 0.715 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.3068, allocations: 0.964 MB / 0.716 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.3069, allocations: 32.67 kB / 0.716 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3071, allocations: 0.4929 MB / 0.7165 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.3072, allocations: 125.8 kB / 0.7166 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3073, allocations: 110.2 kB / 0.7167 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.3073, allocations: 331.3 kB / 0.717 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3075, allocations: 167.5 kB / 0.7172 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3078, allocations: 0.4963 MB / 0.7177 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.3082, allocations: 0.5024 MB / 0.7181 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3083, allocations: 2.906 kB / 0.7182 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000732/0.309, allocations: 0.628 MB / 0.7188 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.309, allocations: 10.03 kB / 0.7188 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.309, allocations: 13.58 kB / 0.7188 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.309, allocations: 7.781 kB / 0.7188 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.3093, allocations: 122.3 kB / 0.7189 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.3093, allocations: 7.812 kB / 0.7189 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3098, allocations: 87.58 kB / 0.719 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.3098, allocations: 29.39 kB / 0.719 GB, free: 10.55 MB / 0.5573 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.0002644/0.3101, allocations: 275.1 kB / 0.7193 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3102, allocations: 104 kB / 0.7194 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.3108, allocations: 496.8 kB / 0.7199 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3108, allocations: 7.406 kB / 0.7199 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3108, allocations: 1.094 kB / 0.7199 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003957/0.3112, allocations: 457.5 kB / 0.7203 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.3126, allocations: 1.241 MB / 0.7215 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3126, allocations: 5.344 kB / 0.7215 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3128, allocations: 79.84 kB / 0.7216 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3128, allocations: 3.438 kB / 0.7216 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3128, allocations: 8 kB / 0.7216 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.3128, allocations: 6.312 kB / 0.7216 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3128, allocations: 2.031 kB / 0.7216 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.3136, allocations: 0.7816 MB / 0.7224 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.3139, allocations: 149.5 kB / 0.7225 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.3139, allocations: 7.875 kB / 0.7225 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3142, allocations: 34.31 kB / 0.7226 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.3142, allocations: 34.59 kB / 0.7226 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3143, allocations: 16.48 kB / 0.7226 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006126/0.3149, allocations: 0.6638 MB / 0.7233 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/0.3149, allocations: 3.938 kB / 0.7233 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009308/0.3158, allocations: 343.1 kB / 0.7236 GB, free: 7.672 MB / 0.5573 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.001416/0.3172, allocations: 1.599 MB / 0.7252 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.3179, allocations: 413.1 kB / 0.7256 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3179, allocations: 0 / 0.7256 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.3181, allocations: 176 kB / 0.7257 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.3197, allocations: 0.6114 MB / 0.7263 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.3271, allocations: 6.816 MB / 0.733 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3273, allocations: 449.3 kB / 0.7334 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007496/0.328, allocations: 196.5 kB / 0.7336 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3283, allocations: 372.3 kB / 0.7339 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of SimCode: time 1.553e-06/0.3283, allocations: 0 / 0.7339 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.3725, allocations: 32.77 MB / 0.7659 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.572, allocations: 8.719 kB / 0.766 GB, free: 0.5273 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.188624307513237] Failed to read output from testmodel.py, exit status != 0: 7.665659423917532 7.674042323 7.376496265 Calling exit ...