Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001412/0.001412, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002264/0.002264, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9155/0.9155, allocations: 145 MB / 457.4 MB, free: 15.47 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002224/0.002224, allocations: 71 kB / 0.6332 GB, free: 7.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1938, allocations: 87.88 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4078/0.6016, allocations: 42.45 MB / 0.7605 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.617, allocations: 10.47 MB / 0.7707 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.619, allocations: 79.94 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.6209, allocations: 0.669 MB / 0.7714 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.6265, allocations: 2.024 MB / 0.7734 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.63, allocations: 1.233 MB / 0.7746 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005606/0.6356, allocations: 3.484 MB / 0.778 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.6374, allocations: 0.8178 MB / 0.7788 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.641, allocations: 1.285 MB / 0.78 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.6432, allocations: 0.933 MB / 0.781 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.6435, allocations: 99.84 kB / 0.781 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.6469, allocations: 0.9433 MB / 0.782 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006695/0.6476, allocations: 291.5 kB / 0.7822 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.6494, allocations: 0.6317 MB / 0.7829 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.6542, allocations: 2.088 MB / 0.7849 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6543, allocations: 0 / 0.7849 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6543, allocations: 3.938 kB / 0.7849 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.087e-05/0.6543, allocations: 5.25 kB / 0.7849 GB, free: 14.28 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.003987/0.6583, allocations: 1.48 MB / 0.7864 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6584, allocations: 9.406 kB / 0.7864 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.6586, allocations: 117.2 kB / 0.7865 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.6592, allocations: 137 kB / 0.7866 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.6618, allocations: 1.059 MB / 0.7876 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.6619, allocations: 51.06 kB / 0.7877 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.662, allocations: 75.67 kB / 0.7878 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6637, allocations: 0.7949 MB / 0.7885 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.6637, allocations: 1.188 kB / 0.7885 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.6638, allocations: 34.42 kB / 0.7886 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.6638, allocations: 19.62 kB / 0.7886 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.6651, allocations: 0.5701 MB / 0.7891 GB, free: 11.88 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.005367/0.6705, allocations: 3.485 MB / 0.7926 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.6711, allocations: 250.2 kB / 0.7928 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.6714, allocations: 163.6 kB / 0.7929 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.6718, allocations: 65.78 kB / 0.793 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6718, allocations: 37.12 kB / 0.793 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.624e-06/0.6718, allocations: 0 / 0.793 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001541/0.6733, allocations: 0.5203 MB / 0.7936 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.6734, allocations: 54.88 kB / 0.7936 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.6752, allocations: 0.9463 MB / 0.7945 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.6753, allocations: 36.33 kB / 0.7946 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000578/0.6759, allocations: 0.5047 MB / 0.7951 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.676, allocations: 117.9 kB / 0.7952 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.6762, allocations: 116.4 kB / 0.7953 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6764, allocations: 327.2 kB / 0.7956 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.6768, allocations: 166.1 kB / 0.7958 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.6774, allocations: 358 kB / 0.7961 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.6784, allocations: 0.502 MB / 0.7966 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.6784, allocations: 1.688 kB / 0.7966 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001377/0.6797, allocations: 0.6328 MB / 0.7972 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6798, allocations: 8.094 kB / 0.7972 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6798, allocations: 9.188 kB / 0.7972 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.6798, allocations: 8.375 kB / 0.7972 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.6803, allocations: 122.7 kB / 0.7973 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.6803, allocations: 11.09 kB / 0.7974 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.6811, allocations: 87.44 kB / 0.7974 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.6811, allocations: 28.78 kB / 0.7975 GB, free: 6.055 MB / 0.5762 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.0004764/0.6816, allocations: 283 kB / 0.7977 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.6819, allocations: 110.9 kB / 0.7978 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.683, allocations: 482.9 kB / 0.7983 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.683, allocations: 8.734 kB / 0.7983 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.683, allocations: 1.281 kB / 0.7983 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008069/0.6838, allocations: 458.7 kB / 0.7987 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.6865, allocations: 1.347 MB / 0.8001 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6865, allocations: 2.281 kB / 0.8001 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.6868, allocations: 75.64 kB / 0.8001 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.6868, allocations: 6.875 kB / 0.8001 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.6869, allocations: 12.27 kB / 0.8002 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.6869, allocations: 6.969 kB / 0.8002 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6869, allocations: 5.625 kB / 0.8002 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.6883, allocations: 0.7721 MB / 0.8009 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.6888, allocations: 154.4 kB / 0.8011 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.689, allocations: 11.83 kB / 0.8011 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.6896, allocations: 31.67 kB / 0.8011 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.6897, allocations: 30.36 kB / 0.8011 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.6897, allocations: 15.2 kB / 0.8012 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001028/0.6907, allocations: 0.6632 MB / 0.8018 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6907, allocations: 0 / 0.8018 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001397/0.6921, allocations: 347.1 kB / 0.8021 GB, free: 3.062 MB / 0.5762 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.002552/0.6947, allocations: 1.601 MB / 0.8037 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009821/0.6957, allocations: 403.4 kB / 0.8041 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6957, allocations: 0.7188 kB / 0.8041 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.6961, allocations: 180.1 kB / 0.8043 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.6989, allocations: 0.6097 MB / 0.8048 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.7101, allocations: 6.849 MB / 0.8115 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.7107, allocations: 1.044 MB / 0.8126 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008166/0.7115, allocations: 202.5 kB / 0.8127 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.712, allocations: 369.9 kB / 0.8131 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.712, allocations: 0 / 0.8131 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0786/0.7906, allocations: 30.51 MB / 0.8429 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.09, allocations: 9.672 kB / 0.8429 GB, free: 14.34 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.727658288786188] Failed to read output from testmodel.py, exit status != 0: 14.21522733499296 14.238937633 13.579359419 Calling exit ...