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.001065/0.001065, allocations: 99.25 kB / 16.35 MB, free: 5.824 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.001025/0.001025, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.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.8293/0.8293, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3045, allocations: 82.04 MB / 0.5957 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0349/0.3394, allocations: 41.56 MB / 0.6363 GB, free: 6.715 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3524, allocations: 10.41 MB / 0.6464 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3536, allocations: 63.62 kB / 0.6465 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.3551, allocations: 0.6365 MB / 0.6471 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.3592, allocations: 1.885 MB / 0.649 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.3622, allocations: 1.183 MB / 0.6501 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.3659, allocations: 3.395 MB / 0.6534 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.367, allocations: 1.064 MB / 0.6545 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.3692, allocations: 1.232 MB / 0.6557 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.3702, allocations: 0.8906 MB / 0.6565 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3704, allocations: 100 kB / 0.6566 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3721, allocations: 0.8617 MB / 0.6575 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.3723, allocations: 271 kB / 0.6577 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.3729, allocations: 0.6375 MB / 0.6584 GB, free: 40 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.375, allocations: 2.019 MB / 0.6603 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.375, allocations: 0 / 0.6603 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.375, allocations: 0 / 0.6603 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.375, allocations: 0 / 0.6603 GB, free: 14.02 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.002258/0.3773, allocations: 1.519 MB / 0.6618 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3774, allocations: 12.03 kB / 0.6618 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.3777, allocations: 135.4 kB / 0.662 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.3795, allocations: 1.104 MB / 0.663 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.3795, allocations: 58 kB / 0.6631 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3796, allocations: 71.91 kB / 0.6632 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.381, allocations: 0.7905 MB / 0.6639 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.381, allocations: 3.938 kB / 0.6639 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.3811, allocations: 35.98 kB / 0.664 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.3812, allocations: 20 kB / 0.664 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3822, allocations: 0.575 MB / 0.6646 GB, free: 9.566 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.004048/0.3863, allocations: 3.544 MB / 0.668 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.3869, allocations: 258.5 kB / 0.6683 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.3872, allocations: 177.3 kB / 0.6684 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/0.3878, allocations: 0.657 MB / 0.6691 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3878, allocations: 50.48 kB / 0.6691 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.3878, allocations: 0 / 0.6691 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001079/0.3889, allocations: 0.5093 MB / 0.6696 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.389, allocations: 55.41 kB / 0.6697 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3901, allocations: 0.9533 MB / 0.6706 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.3901, allocations: 29.7 kB / 0.6706 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.3906, allocations: 0.4918 MB / 0.6711 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3907, allocations: 118.4 kB / 0.6712 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3909, allocations: 114.1 kB / 0.6713 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.391, allocations: 333.9 kB / 0.6717 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3914, allocations: 161 kB / 0.6718 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.3918, allocations: 350.9 kB / 0.6721 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007607/0.3926, allocations: 0.511 MB / 0.6726 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3926, allocations: 3.938 kB / 0.6726 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001024/0.3937, allocations: 0.6137 MB / 0.6732 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3937, allocations: 8.031 kB / 0.6732 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3937, allocations: 8 kB / 0.6733 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3937, allocations: 8 kB / 0.6733 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.3942, allocations: 119.9 kB / 0.6734 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.3942, allocations: 15.98 kB / 0.6734 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.3947, allocations: 83.19 kB / 0.6735 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3948, allocations: 27.94 kB / 0.6735 GB, free: 15.79 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.000308/0.3951, allocations: 285.5 kB / 0.6738 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3952, allocations: 102.8 kB / 0.6739 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009316/0.3962, allocations: 478.8 kB / 0.6743 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.3962, allocations: 4 kB / 0.6743 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3962, allocations: 4 kB / 0.6743 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007162/0.3969, allocations: 450.4 kB / 0.6748 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3989, allocations: 1.367 MB / 0.6761 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3989, allocations: 0 / 0.6761 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.3993, allocations: 75.89 kB / 0.6762 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3993, allocations: 7.938 kB / 0.6762 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3993, allocations: 8 kB / 0.6762 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3993, allocations: 4.156 kB / 0.6762 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3993, allocations: 7.938 kB / 0.6762 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4006, allocations: 0.763 MB / 0.6769 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.4009, allocations: 231.7 kB / 0.6772 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4011, allocations: 12 kB / 0.6772 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.4016, allocations: 23.97 kB / 0.6772 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.4017, allocations: 35.91 kB / 0.6772 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4017, allocations: 19.98 kB / 0.6773 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008377/0.4026, allocations: 0.6627 MB / 0.6779 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4026, allocations: 0 / 0.6779 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000852/0.4034, allocations: 331.5 kB / 0.6782 GB, free: 10.79 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.0007287/0.4042, allocations: 409.9 kB / 0.6786 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008054/0.405, allocations: 416.2 kB / 0.679 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.405, allocations: 0 / 0.679 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.4054, allocations: 185.8 kB / 0.6792 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4077, allocations: 0.6185 MB / 0.6798 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.41, allocations: 1.598 MB / 0.6813 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.4106, allocations: 1.036 MB / 0.6824 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005508/0.4112, allocations: 192.3 kB / 0.6825 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4113, allocations: 83.42 kB / 0.6826 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4113, allocations: 0 / 0.6826 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of Templates: time 0.03378/0.4451, allocations: 21.47 MB / 0.7036 GB, free: 1.078 MB / 0.5294 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)