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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005455/0.005455, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9713/0.9713, allocations: 143.2 MB / 434.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 0.5165 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 83.42 MB / 0.598 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2955/0.448, allocations: 40.47 MB / 0.6375 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.4588, allocations: 10.34 MB / 0.6476 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.4605, allocations: 52.66 kB / 0.6476 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.4619, allocations: 0.5213 MB / 0.6482 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.4659, allocations: 1.754 MB / 0.6499 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.4682, allocations: 1.075 MB / 0.6509 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.4724, allocations: 4.52 MB / 0.6553 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.4738, allocations: 0.8428 MB / 0.6562 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.4761, allocations: 1.022 MB / 0.6571 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.4779, allocations: 0.8593 MB / 0.658 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.4782, allocations: 41.47 kB / 0.658 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.4806, allocations: 0.7688 MB / 0.6588 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.481, allocations: 210.2 kB / 0.659 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.4823, allocations: 0.5829 MB / 0.6595 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.4863, allocations: 1.921 MB / 0.6614 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4863, allocations: 1.5 kB / 0.6614 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.477e-06/0.4863, allocations: 4.703 kB / 0.6614 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.468e-05/0.4864, allocations: 0 / 0.6614 GB, free: 5.984 MB / 0.4981 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.003517/0.4899, allocations: 1.3 MB / 0.6627 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.49, allocations: 10.44 kB / 0.6627 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/0.4903, allocations: 112.7 kB / 0.6628 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/0.4909, allocations: 134.7 kB / 0.6629 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.4931, allocations: 1.088 MB / 0.664 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.4931, allocations: 58.56 kB / 0.6641 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4933, allocations: 72.86 kB / 0.6641 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.4949, allocations: 0.8033 MB / 0.6649 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.4949, allocations: 4.969 kB / 0.6649 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.495, allocations: 31.22 kB / 0.665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.4951, allocations: 19.12 kB / 0.665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4964, allocations: 0.5935 MB / 0.6655 GB, free: 3.621 MB / 0.4981 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.004478/0.5009, allocations: 3.555 MB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.5015, allocations: 271.6 kB / 0.6693 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5019, allocations: 189.2 kB / 0.6695 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.5024, allocations: 0.6624 MB / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5024, allocations: 38.17 kB / 0.6701 GB, free: 60 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.5024, allocations: 0 / 0.6701 GB, free: 60 kB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001292/0.5037, allocations: 0.5431 MB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.5038, allocations: 55.44 kB / 0.6707 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.5052, allocations: 0.9282 MB / 0.6716 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.5053, allocations: 38.34 kB / 0.6717 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.5059, allocations: 494.9 kB / 0.6721 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5061, allocations: 120.5 kB / 0.6723 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5062, allocations: 49.02 kB / 0.6723 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5064, allocations: 330.5 kB / 0.6726 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.5068, allocations: 174.2 kB / 0.6728 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.5075, allocations: 364.4 kB / 0.6731 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5085, allocations: 0.528 MB / 0.6736 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.5085, allocations: 1.125 kB / 0.6736 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001448/0.51, allocations: 0.6396 MB / 0.6743 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.51, allocations: 6.688 kB / 0.6743 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.51, allocations: 5.828 kB / 0.6743 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.51, allocations: 9.156 kB / 0.6743 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.5105, allocations: 139.1 kB / 0.6744 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.5105, allocations: 14.23 kB / 0.6744 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.5114, allocations: 114.8 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.5115, allocations: 28.59 kB / 0.6746 GB, free: 13.52 MB / 0.5137 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.0004244/0.5119, allocations: 272 kB / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.5121, allocations: 103.8 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5131, allocations: 0.4996 MB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5131, allocations: 4.859 kB / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5131, allocations: 0 / 0.6754 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000735/0.5139, allocations: 478 kB / 0.6759 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.5162, allocations: 1.38 MB / 0.6772 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5162, allocations: 0.9375 kB / 0.6772 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.5165, allocations: 87.69 kB / 0.6773 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.5166, allocations: 6.062 kB / 0.6773 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5166, allocations: 14.23 kB / 0.6773 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.5166, allocations: 6.906 kB / 0.6773 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5166, allocations: 3.188 kB / 0.6773 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.5179, allocations: 0.7901 MB / 0.6781 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.5183, allocations: 247.3 kB / 0.6784 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5185, allocations: 11.84 kB / 0.6784 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.519, allocations: 64.97 kB / 0.6784 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.5191, allocations: 27.84 kB / 0.6785 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.5192, allocations: 19.53 kB / 0.6785 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008359/0.52, allocations: 0.6481 MB / 0.6791 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.52, allocations: 4 kB / 0.6791 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001028/0.5211, allocations: 328.2 kB / 0.6794 GB, free: 11.06 MB / 0.5137 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.002151/0.5232, allocations: 1.617 MB / 0.681 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.5242, allocations: 436.8 kB / 0.6814 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5242, allocations: 1.312 kB / 0.6814 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.5246, allocations: 205.4 kB / 0.6816 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.5277, allocations: 0.6044 MB / 0.6822 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.5399, allocations: 7.591 MB / 0.6896 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.5407, allocations: 1.042 MB / 0.6906 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5417, allocations: 205.5 kB / 0.6908 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.5422, allocations: 372.5 kB / 0.6912 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/0.5422, allocations: 0 / 0.6912 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05073/0.5929, allocations: 28.57 MB / 0.7191 GB, free: 15.46 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.5932, allocations: 272.3 kB / 0.7193 GB, free: 15.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.007, allocations: 0 / 0.7193 GB, free: 15.1 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)