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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 102.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 281.3 kB / 302.9 MB, free: 3.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 180.9 MB / 0.5261 GB, free: 2.805 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002787/0.002787, allocations: 103.8 kB / 0.7248 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.6019, allocations: 94.17 MB / 0.8167 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05245/0.6544, allocations: 41.86 MB / 0.8576 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.6741, allocations: 10.42 MB / 0.8678 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.6774, allocations: 58.94 kB / 0.8678 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.6801, allocations: 0.6692 MB / 0.8685 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.687, allocations: 1.973 MB / 0.8704 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.691, allocations: 1.191 MB / 0.8716 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006232/0.6973, allocations: 3.397 MB / 0.8749 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.6991, allocations: 0.8691 MB / 0.8757 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.7031, allocations: 1.276 MB / 0.877 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.7052, allocations: 0.9364 MB / 0.8779 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.7056, allocations: 104.2 kB / 0.878 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.7086, allocations: 0.8824 MB / 0.8789 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.7092, allocations: 299.9 kB / 0.8791 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.7106, allocations: 0.6272 MB / 0.8798 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.7152, allocations: 1.933 MB / 0.8816 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7152, allocations: 0 / 0.8816 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7152, allocations: 0 / 0.8816 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.7152, allocations: 1.594 kB / 0.8817 GB, free: 8.57 MB / 0.6231 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.003704/0.719, allocations: 1.55 MB / 0.8832 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.719, allocations: 9.5 kB / 0.8832 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.7192, allocations: 114 kB / 0.8833 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.7197, allocations: 149.4 kB / 0.8834 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.7221, allocations: 1.114 MB / 0.8845 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.7222, allocations: 59.83 kB / 0.8846 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.7223, allocations: 71.38 kB / 0.8846 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.7239, allocations: 0.7913 MB / 0.8854 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.7239, allocations: 1.594 kB / 0.8854 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.724, allocations: 27.06 kB / 0.8854 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.7241, allocations: 21.91 kB / 0.8855 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.7253, allocations: 0.5723 MB / 0.886 GB, free: 5.434 MB / 0.6231 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.005461/0.7307, allocations: 3.549 MB / 0.8895 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.7313, allocations: 253.7 kB / 0.8897 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.7317, allocations: 163.7 kB / 0.8899 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/0.7323, allocations: 0.6623 MB / 0.8905 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.7324, allocations: 37.31 kB / 0.8906 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.7324, allocations: 0 / 0.8906 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001537/0.7339, allocations: 0.5255 MB / 0.8911 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.734, allocations: 55.22 kB / 0.8911 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.7356, allocations: 0.9419 MB / 0.892 GB, free: 416 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.7357, allocations: 36.86 kB / 0.8921 GB, free: 376 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.7362, allocations: 0.5004 MB / 0.8926 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7364, allocations: 121.6 kB / 0.8927 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.7366, allocations: 116.7 kB / 0.8928 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7368, allocations: 326.5 kB / 0.8931 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.7372, allocations: 162 kB / 0.8933 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.7378, allocations: 354.9 kB / 0.8936 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.7387, allocations: 0.5054 MB / 0.8941 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7388, allocations: 5.969 kB / 0.8941 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001473/0.7402, allocations: 0.6189 MB / 0.8947 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7403, allocations: 6.75 kB / 0.8947 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.7403, allocations: 6.469 kB / 0.8947 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.7403, allocations: 8.469 kB / 0.8947 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.7408, allocations: 125.8 kB / 0.8948 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.7408, allocations: 11.88 kB / 0.8949 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.7417, allocations: 90.25 kB / 0.8949 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.7418, allocations: 28.95 kB / 0.895 GB, free: 14.21 MB / 0.6387 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.0005507/0.7424, allocations: 270.1 kB / 0.8952 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.7426, allocations: 107.9 kB / 0.8953 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.7437, allocations: 484.6 kB / 0.8958 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.7438, allocations: 8.109 kB / 0.8958 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7438, allocations: 4 kB / 0.8958 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007549/0.7445, allocations: 462.4 kB / 0.8962 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.7472, allocations: 1.357 MB / 0.8976 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7472, allocations: 5.094 kB / 0.8976 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.7476, allocations: 76.64 kB / 0.8977 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7476, allocations: 2.625 kB / 0.8977 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.7476, allocations: 12.67 kB / 0.8977 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.7476, allocations: 2.625 kB / 0.8977 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7476, allocations: 5.125 kB / 0.8977 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.7491, allocations: 0.7687 MB / 0.8984 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.7496, allocations: 239.3 kB / 0.8987 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.7498, allocations: 6.625 kB / 0.8987 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.7504, allocations: 34.42 kB / 0.8987 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.7504, allocations: 24.12 kB / 0.8987 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.7505, allocations: 17.39 kB / 0.8987 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001016/0.7515, allocations: 0.6635 MB / 0.8994 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7515, allocations: 0 / 0.8994 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001307/0.7528, allocations: 340.8 kB / 0.8997 GB, free: 11.1 MB / 0.6387 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.002614/0.7554, allocations: 1.603 MB / 0.9013 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.7564, allocations: 405 kB / 0.9017 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7564, allocations: 0 / 0.9017 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.7568, allocations: 176.3 kB / 0.9018 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.7598, allocations: 0.6155 MB / 0.9024 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.7714, allocations: 6.861 MB / 0.9091 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.7721, allocations: 1.032 MB / 0.9101 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008865/0.7729, allocations: 201.4 kB / 0.9103 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.7735, allocations: 379.2 kB / 0.9107 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of SimCode: time 1.573e-06/0.7735, allocations: 0 / 0.9107 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/0.8485, allocations: 29.9 MB / 0.9399 GB, free: 2.141 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.96, allocations: 12 kB / 0.9399 GB, free: 2.129 MB / 0.67 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.877800036687404] Failed to read output from testmodel.py, exit status != 0: 11.043681496288627 11.057414584 10.338992205 Calling exit ...