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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006091/0.006091, allocations: 100.4 kB / 15.87 MB, free: 5.863 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.001328/0.001328, allocations: 190.5 kB / 16.79 MB, free: 5.805 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.292/1.292, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.9667/0.9667, allocations: 143 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1688, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3361/0.505, allocations: 41.33 MB / 0.6346 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.5184, allocations: 10.47 MB / 0.6448 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.5212, allocations: 51.47 kB / 0.6449 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.5232, allocations: 0.5302 MB / 0.6454 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.529, allocations: 1.744 MB / 0.6471 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.5322, allocations: 1.071 MB / 0.6482 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005252/0.5375, allocations: 4.51 MB / 0.6526 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.5391, allocations: 0.8897 MB / 0.6534 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.5417, allocations: 1.037 MB / 0.6545 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.5435, allocations: 0.898 MB / 0.6553 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.5437, allocations: 48.28 kB / 0.6554 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.546, allocations: 0.7755 MB / 0.6561 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.5464, allocations: 235.6 kB / 0.6564 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000895/0.5473, allocations: 0.571 MB / 0.6569 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.5494, allocations: 1.56 MB / 0.6584 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5494, allocations: 0 / 0.6584 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5494, allocations: 1.25 kB / 0.6584 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.5495, allocations: 0 / 0.6584 GB, free: 6.48 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.003249/0.5527, allocations: 1.513 MB / 0.6599 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5528, allocations: 17.06 kB / 0.6599 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.5533, allocations: 139.9 kB / 0.6601 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.555, allocations: 1.074 MB / 0.6611 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.5551, allocations: 56.28 kB / 0.6612 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.5552, allocations: 73.81 kB / 0.6612 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.5566, allocations: 0.789 MB / 0.662 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.5567, allocations: 5.031 kB / 0.662 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.5567, allocations: 31.52 kB / 0.662 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.5568, allocations: 23.52 kB / 0.6621 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.5579, allocations: 0.571 MB / 0.6626 GB, free: 4.07 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.00451/0.5624, allocations: 3.538 MB / 0.6661 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.5631, allocations: 265.3 kB / 0.6663 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.5635, allocations: 183.1 kB / 0.6665 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/0.5639, allocations: 0.6595 MB / 0.6671 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5639, allocations: 37.97 kB / 0.6672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.5639, allocations: 0 / 0.6672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001378/0.5653, allocations: 0.5114 MB / 0.6677 GB, free: 324 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.5653, allocations: 53.81 kB / 0.6677 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.5669, allocations: 0.9332 MB / 0.6686 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.567, allocations: 36.98 kB / 0.6687 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.5674, allocations: 496.1 kB / 0.6692 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5676, allocations: 120.1 kB / 0.6693 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.5678, allocations: 113.9 kB / 0.6694 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5679, allocations: 333.8 kB / 0.6697 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.5683, allocations: 165.3 kB / 0.6699 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.5689, allocations: 350.8 kB / 0.6702 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.5698, allocations: 0.5131 MB / 0.6707 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5698, allocations: 2.25 kB / 0.6707 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001422/0.5713, allocations: 0.6147 MB / 0.6713 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5713, allocations: 7.5 kB / 0.6713 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5713, allocations: 6.469 kB / 0.6713 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.5714, allocations: 8.156 kB / 0.6713 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.5719, allocations: 126.9 kB / 0.6714 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.5719, allocations: 12.83 kB / 0.6714 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.5729, allocations: 110.2 kB / 0.6716 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.5729, allocations: 25.84 kB / 0.6716 GB, free: 13.95 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.0004879/0.5734, allocations: 279.3 kB / 0.6718 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5736, allocations: 101.4 kB / 0.6719 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.5747, allocations: 483 kB / 0.6724 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5747, allocations: 8.953 kB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.5747, allocations: 0 / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007549/0.5755, allocations: 458.3 kB / 0.6728 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.578, allocations: 1.357 MB / 0.6742 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5781, allocations: 9.672 kB / 0.6742 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.5784, allocations: 73.61 kB / 0.6743 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.5784, allocations: 7.281 kB / 0.6743 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.5785, allocations: 8.891 kB / 0.6743 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.5785, allocations: 7.594 kB / 0.6743 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5785, allocations: 5.438 kB / 0.6743 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.5799, allocations: 0.7625 MB / 0.675 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.5803, allocations: 224.5 kB / 0.6752 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.5806, allocations: 12.34 kB / 0.6752 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.5813, allocations: 62.92 kB / 0.6753 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.5815, allocations: 28.44 kB / 0.6753 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.5815, allocations: 16.91 kB / 0.6754 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001224/0.5827, allocations: 0.6481 MB / 0.676 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5828, allocations: 0 / 0.676 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00141/0.5842, allocations: 331.7 kB / 0.6763 GB, free: 11.51 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.00112/0.5853, allocations: 388.6 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.5864, allocations: 422.1 kB / 0.6771 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5864, allocations: 0 / 0.6771 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.5869, allocations: 187.3 kB / 0.6773 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.5901, allocations: 0.5936 MB / 0.6778 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.5931, allocations: 1.965 MB / 0.6798 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.5938, allocations: 1.043 MB / 0.6808 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.5941, allocations: 79.16 kB / 0.6808 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.5941, allocations: 0 / 0.6808 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.03444/0.6285, allocations: 18.11 MB / 0.6985 GB, free: 2.238 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)