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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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.0007651/0.0007651, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009463/0.0009464, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9532/0.9532, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 0.5161 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 83.42 MB / 0.5975 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2942/0.4358, allocations: 38.31 MB / 0.635 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.4468, allocations: 9.741 MB / 0.6445 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.4484, allocations: 46.38 kB / 0.6445 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.4496, allocations: 469.7 kB / 0.645 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.453, allocations: 1.475 MB / 0.6464 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4553, allocations: 0.8558 MB / 0.6472 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003476/0.4587, allocations: 3.852 MB / 0.651 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.4597, allocations: 0.7426 MB / 0.6517 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.4614, allocations: 0.9869 MB / 0.6527 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.4623, allocations: 0.804 MB / 0.6535 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4624, allocations: 40.73 kB / 0.6535 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.4638, allocations: 494.3 kB / 0.654 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.464, allocations: 192 kB / 0.6542 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.4643, allocations: 263.3 kB / 0.6544 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.4657, allocations: 1.462 MB / 0.6558 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4657, allocations: 4 kB / 0.6558 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4657, allocations: 0.5938 kB / 0.6558 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.4658, allocations: 0 / 0.6558 GB, free: 9.254 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.002052/0.4678, allocations: 1.314 MB / 0.6571 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4679, allocations: 9.031 kB / 0.6571 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.468, allocations: 123.7 kB / 0.6573 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.4683, allocations: 137.1 kB / 0.6574 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4698, allocations: 1.045 MB / 0.6584 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.4699, allocations: 51.5 kB / 0.6585 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.47, allocations: 71.91 kB / 0.6585 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4714, allocations: 0.7978 MB / 0.6593 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4714, allocations: 1.312 kB / 0.6593 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.4715, allocations: 31.06 kB / 0.6593 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.4715, allocations: 26.55 kB / 0.6594 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4726, allocations: 0.5842 MB / 0.6599 GB, free: 6.926 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.003851/0.4765, allocations: 3.556 MB / 0.6634 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.4771, allocations: 272.3 kB / 0.6637 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.4775, allocations: 187.8 kB / 0.6638 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.4779, allocations: 0.6548 MB / 0.6645 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4779, allocations: 41.56 kB / 0.6645 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.4779, allocations: 4 kB / 0.6645 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001272/0.4792, allocations: 0.5407 MB / 0.6651 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4793, allocations: 54.58 kB / 0.6651 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4805, allocations: 0.9241 MB / 0.666 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.4805, allocations: 32.81 kB / 0.666 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.4809, allocations: 0.4929 MB / 0.6665 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.481, allocations: 115.8 kB / 0.6666 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.481, allocations: 9.406 kB / 0.6666 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.4811, allocations: 325.9 kB / 0.6669 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.4814, allocations: 173 kB / 0.6671 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4818, allocations: 357.8 kB / 0.6675 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.4822, allocations: 232.5 kB / 0.6677 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4823, allocations: 6.766 kB / 0.6677 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00115/0.4834, allocations: 0.6357 MB / 0.6683 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4835, allocations: 11.38 kB / 0.6683 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4835, allocations: 6.094 kB / 0.6683 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.4835, allocations: 11.97 kB / 0.6683 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.484, allocations: 129.1 kB / 0.6685 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.484, allocations: 11.86 kB / 0.6685 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.485, allocations: 119.1 kB / 0.6686 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.485, allocations: 34.42 kB / 0.6686 GB, free: 1.098 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.4855, allocations: 275.5 kB / 0.6689 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4856, allocations: 99.98 kB / 0.669 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4866, allocations: 0.5005 MB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.4866, allocations: 4.547 kB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4867, allocations: 0 / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007235/0.4874, allocations: 475.2 kB / 0.6699 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.4899, allocations: 1.383 MB / 0.6713 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4899, allocations: 2.25 kB / 0.6713 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.4903, allocations: 81.61 kB / 0.6713 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.4903, allocations: 2.75 kB / 0.6714 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4903, allocations: 9.188 kB / 0.6714 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.4903, allocations: 8.125 kB / 0.6714 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4903, allocations: 1.656 kB / 0.6714 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4919, allocations: 0.7892 MB / 0.6721 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.4924, allocations: 250.4 kB / 0.6724 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4925, allocations: 8.703 kB / 0.6724 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.4931, allocations: 56.72 kB / 0.6724 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.4932, allocations: 29.23 kB / 0.6725 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.4932, allocations: 21.17 kB / 0.6725 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008972/0.4941, allocations: 0.6384 MB / 0.6731 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4941, allocations: 0 / 0.6731 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001068/0.4952, allocations: 337.2 kB / 0.6734 GB, free: 14.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002267/0.4975, allocations: 1.591 MB / 0.675 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000992/0.4985, allocations: 428.7 kB / 0.6754 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.4985, allocations: 1.094 kB / 0.6754 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.499, allocations: 212.3 kB / 0.6756 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.5017, allocations: 0.5964 MB / 0.6762 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.5117, allocations: 5.478 MB / 0.6815 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.5124, allocations: 1.042 MB / 0.6825 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009115/0.5133, allocations: 195 kB / 0.6827 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.5138, allocations: 367.8 kB / 0.6831 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.5138, allocations: 0 / 0.6831 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05257/0.5664, allocations: 29.21 MB / 0.7116 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.5667, allocations: 258.7 kB / 0.7119 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.867, allocations: 7.938 kB / 0.7119 GB, free: 6.371 MB / 0.5294 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/linux/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) Environment - environmentSimulation: