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.001043/0.001043, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001107/0.001107, allocations: 194.1 kB / 16.25 MB, free: 6.625 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.9058/0.9058, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 67.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 82.04 MB / 0.5939 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2469/0.3856, allocations: 41.24 MB / 0.6342 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009881/0.3955, allocations: 10.33 MB / 0.6443 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.397, allocations: 55.44 kB / 0.6443 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3983, allocations: 0.5576 MB / 0.6449 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.4018, allocations: 1.762 MB / 0.6466 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.404, allocations: 1.085 MB / 0.6476 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.4069, allocations: 3.417 MB / 0.651 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.408, allocations: 1.047 MB / 0.652 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.4103, allocations: 1.241 MB / 0.6532 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.4115, allocations: 0.916 MB / 0.6541 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.4118, allocations: 103.5 kB / 0.6542 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.4135, allocations: 0.8714 MB / 0.6551 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.4138, allocations: 280.4 kB / 0.6553 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.4147, allocations: 0.6329 MB / 0.6559 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.4166, allocations: 2.009 MB / 0.6579 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4166, allocations: 0 / 0.6579 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4166, allocations: 0.7188 kB / 0.6579 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.4166, allocations: 0 / 0.6579 GB, free: 5.926 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.001867/0.4185, allocations: 1.518 MB / 0.6594 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4186, allocations: 9.656 kB / 0.6594 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.4187, allocations: 113.6 kB / 0.6595 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.419, allocations: 138 kB / 0.6596 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4202, allocations: 1.087 MB / 0.6607 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.4203, allocations: 60.28 kB / 0.6608 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.4204, allocations: 71.53 kB / 0.6608 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4215, allocations: 0.7882 MB / 0.6616 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4215, allocations: 4.641 kB / 0.6616 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.4216, allocations: 26.03 kB / 0.6616 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.4216, allocations: 25.08 kB / 0.6616 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.4226, allocations: 0.5712 MB / 0.6622 GB, free: 3.434 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.003001/0.4256, allocations: 3.551 MB / 0.6657 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.4261, allocations: 261.4 kB / 0.6659 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.4264, allocations: 179 kB / 0.6661 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.4268, allocations: 0.6602 MB / 0.6667 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4268, allocations: 37.09 kB / 0.6668 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.4268, allocations: 3.938 kB / 0.6668 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001068/0.4279, allocations: 0.5066 MB / 0.6673 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.4279, allocations: 64.03 kB / 0.6673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.429, allocations: 0.9318 MB / 0.6682 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.429, allocations: 37.17 kB / 0.6683 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.4294, allocations: 496.1 kB / 0.6687 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.4295, allocations: 115.7 kB / 0.6689 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.4297, allocations: 118.3 kB / 0.669 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.4298, allocations: 330.6 kB / 0.6693 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.4301, allocations: 165.5 kB / 0.6694 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.4306, allocations: 345.7 kB / 0.6698 GB, free: 14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.4313, allocations: 0.5099 MB / 0.6703 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4313, allocations: 1.625 kB / 0.6703 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001016/0.4324, allocations: 0.6204 MB / 0.6709 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4324, allocations: 9.125 kB / 0.6709 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4324, allocations: 4.531 kB / 0.6709 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4324, allocations: 7.75 kB / 0.6709 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.4328, allocations: 123.2 kB / 0.671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.4328, allocations: 14.06 kB / 0.671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.4335, allocations: 109 kB / 0.6711 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.4335, allocations: 26.88 kB / 0.6712 GB, free: 13.32 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.0002957/0.4338, allocations: 283.7 kB / 0.6714 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.434, allocations: 98.91 kB / 0.6715 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/0.4349, allocations: 482.3 kB / 0.672 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4349, allocations: 8.531 kB / 0.672 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4349, allocations: 0.5625 kB / 0.672 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006631/0.4356, allocations: 450.1 kB / 0.6724 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.4375, allocations: 1.365 MB / 0.6738 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4375, allocations: 1.438 kB / 0.6738 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.4378, allocations: 74.19 kB / 0.6738 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.4378, allocations: 7.312 kB / 0.6738 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4379, allocations: 12.58 kB / 0.6738 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4379, allocations: 8.188 kB / 0.6739 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4379, allocations: 1.094 kB / 0.6739 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4391, allocations: 0.7618 MB / 0.6746 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.4393, allocations: 230.5 kB / 0.6748 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4395, allocations: 9.031 kB / 0.6748 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.44, allocations: 58.95 kB / 0.6749 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.4401, allocations: 29.77 kB / 0.6749 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.4401, allocations: 21.27 kB / 0.6749 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007472/0.4409, allocations: 0.6503 MB / 0.6756 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4409, allocations: 0 / 0.6756 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008606/0.4417, allocations: 327 kB / 0.6759 GB, free: 10.88 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.00195/0.4437, allocations: 1.589 MB / 0.6774 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008289/0.4445, allocations: 451.7 kB / 0.6779 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4446, allocations: 0 / 0.6779 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.4449, allocations: 186.9 kB / 0.678 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.4473, allocations: 0.6242 MB / 0.6787 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.458, allocations: 7.477 MB / 0.686 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.4586, allocations: 1.046 MB / 0.687 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007275/0.4593, allocations: 195.1 kB / 0.6872 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.4597, allocations: 372.4 kB / 0.6875 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.4597, allocations: 3.938 kB / 0.6875 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.229/2.689, allocations: 29.2 MB / 0.716 GB, free: 152 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/2.69, allocations: 266.7 kB / 0.7163 GB, free: 15.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/5.372, allocations: 0 / 0.7163 GB, free: 15.79 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)