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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001169/0.001169, allocations: 193.7 kB / 16.14 MB, free: 6.656 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.9776/0.9776, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1616, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3386/0.5002, allocations: 41.33 MB / 0.6341 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.5128, allocations: 10.46 MB / 0.6443 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.5147, allocations: 60.25 kB / 0.6444 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.5163, allocations: 0.5344 MB / 0.6449 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.5209, allocations: 1.746 MB / 0.6466 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.5235, allocations: 1.073 MB / 0.6476 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004666/0.5282, allocations: 4.513 MB / 0.652 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.5293, allocations: 0.8874 MB / 0.6529 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.5313, allocations: 1.039 MB / 0.6539 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.5326, allocations: 0.89 MB / 0.6548 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.5327, allocations: 53.09 kB / 0.6548 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.5351, allocations: 0.7887 MB / 0.6556 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.5354, allocations: 222.5 kB / 0.6558 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.5361, allocations: 0.5797 MB / 0.6564 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.5389, allocations: 1.957 MB / 0.6583 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5389, allocations: 0 / 0.6583 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5389, allocations: 1.344 kB / 0.6583 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.5389, allocations: 3.938 kB / 0.6583 GB, free: 6.27 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.002871/0.5418, allocations: 1.512 MB / 0.6598 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5419, allocations: 9 kB / 0.6598 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.542, allocations: 120.1 kB / 0.6599 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.5424, allocations: 134.1 kB / 0.66 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.5442, allocations: 1.079 MB / 0.6611 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.5443, allocations: 55.88 kB / 0.6611 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5444, allocations: 72.39 kB / 0.6612 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.5458, allocations: 0.7883 MB / 0.662 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5459, allocations: 6.25 kB / 0.662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.5459, allocations: 31.72 kB / 0.662 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.546, allocations: 18.75 kB / 0.662 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5471, allocations: 0.5663 MB / 0.6626 GB, free: 3.789 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.004269/0.5514, allocations: 3.553 MB / 0.6661 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.552, allocations: 262.5 kB / 0.6663 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.5524, allocations: 174.9 kB / 0.6665 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.5527, allocations: 0.6555 MB / 0.6671 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5528, allocations: 45.73 kB / 0.6672 GB, free: 228 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.5528, allocations: 0 / 0.6672 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001277/0.5541, allocations: 0.5074 MB / 0.6676 GB, free: 32 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5541, allocations: 53.88 kB / 0.6677 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.5554, allocations: 0.9417 MB / 0.6686 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.5555, allocations: 32.2 kB / 0.6686 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.556, allocations: 496.3 kB / 0.6691 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5561, allocations: 119.2 kB / 0.6692 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.5563, allocations: 118.6 kB / 0.6693 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5564, allocations: 330.4 kB / 0.6697 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.5568, allocations: 162.2 kB / 0.6698 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.5574, allocations: 358.4 kB / 0.6702 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.5583, allocations: 0.5044 MB / 0.6707 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5583, allocations: 1.375 kB / 0.6707 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001222/0.5595, allocations: 0.6161 MB / 0.6713 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5595, allocations: 11.78 kB / 0.6713 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5595, allocations: 5.25 kB / 0.6713 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5596, allocations: 8.469 kB / 0.6713 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.56, allocations: 123.3 kB / 0.6714 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.56, allocations: 13.36 kB / 0.6714 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.5609, allocations: 113.3 kB / 0.6715 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.5609, allocations: 30.28 kB / 0.6715 GB, free: 13.66 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.0003901/0.5613, allocations: 275.4 kB / 0.6718 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.5615, allocations: 104.6 kB / 0.6719 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5625, allocations: 478.8 kB / 0.6724 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5626, allocations: 7.562 kB / 0.6724 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5626, allocations: 1.531 kB / 0.6724 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007409/0.5633, allocations: 458.9 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.5656, allocations: 1.356 MB / 0.6741 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5657, allocations: 1.031 kB / 0.6741 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.566, allocations: 79.14 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.566, allocations: 6.5 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.566, allocations: 12.91 kB / 0.6742 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.5661, allocations: 3.875 kB / 0.6742 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.5661, allocations: 9.062 kB / 0.6742 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.5674, allocations: 0.7588 MB / 0.675 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.5678, allocations: 233.9 kB / 0.6752 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5679, allocations: 7.703 kB / 0.6752 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.5685, allocations: 56.23 kB / 0.6753 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.5686, allocations: 28.8 kB / 0.6753 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.5686, allocations: 21.33 kB / 0.6753 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008463/0.5695, allocations: 0.6476 MB / 0.6759 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5695, allocations: 4 kB / 0.676 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001093/0.5706, allocations: 335.3 kB / 0.6763 GB, free: 11.22 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.002361/0.5729, allocations: 1.589 MB / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009342/0.5739, allocations: 420.1 kB / 0.6782 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5739, allocations: 1.406 kB / 0.6782 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.5743, allocations: 192 kB / 0.6784 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.5773, allocations: 0.5908 MB / 0.679 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5912, allocations: 7.491 MB / 0.6863 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009243/0.5921, allocations: 1.041 MB / 0.6873 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001301/0.5935, allocations: 195.4 kB / 0.6875 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.594, allocations: 375.4 kB / 0.6879 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5941, allocations: 1.156 kB / 0.6879 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/0.6452, allocations: 28.59 MB / 0.7158 GB, free: 196 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/0.6456, allocations: 272.9 kB / 0.716 GB, free: 15.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.078, allocations: 3.094 kB / 0.716 GB, free: 15.83 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)