Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7394/0.7394, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 186.9 kB / 174.2 MB, free: 5.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205 MB / 408.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000996/0.0009959, allocations: 102.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 58.39 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1174, allocations: 75.48 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07007/0.1875, allocations: 89.29 MB / 0.7189 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.2108, allocations: 18.7 MB / 0.7371 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.2144, allocations: 103.4 kB / 0.7372 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.2178, allocations: 1.029 MB / 0.7382 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008944/0.2268, allocations: 3.333 MB / 0.7415 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.2863/0.5131, allocations: 1.723 MB / 0.7432 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009989/0.5231, allocations: 9.123 MB / 0.7521 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.5259, allocations: 1.73 MB / 0.7538 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.53, allocations: 1.96 MB / 0.7557 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.533, allocations: 1.771 MB / 0.7574 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.5334, allocations: 98.59 kB / 0.7575 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.5373, allocations: 1.423 MB / 0.7589 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006119/0.5379, allocations: 434.6 kB / 0.7593 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.5403, allocations: 1.124 MB / 0.7604 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007016/0.5474, allocations: 3.754 MB / 0.7641 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5474, allocations: 1.5 kB / 0.7641 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5474, allocations: 0 / 0.7641 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.266e-05/0.5475, allocations: 0 / 0.7641 GB, free: 6.379 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006955/0.5544, allocations: 2.688 MB / 0.7667 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.5545, allocations: 8.969 kB / 0.7667 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5555, allocations: 260.4 kB / 0.767 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.5594, allocations: 1.934 MB / 0.7689 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5595, allocations: 105.7 kB / 0.769 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.5597, allocations: 144.8 kB / 0.7691 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.5625, allocations: 1.488 MB / 0.7705 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.5625, allocations: 9.938 kB / 0.7706 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5626, allocations: 56.19 kB / 0.7706 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.5627, allocations: 37.64 kB / 0.7706 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.5648, allocations: 1.119 MB / 0.7717 GB, free: 20.23 MB / 0.5261 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.0104/0.5752, allocations: 7.522 MB / 0.7791 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5766, allocations: 436.4 kB / 0.7795 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/0.5775, allocations: 290.3 kB / 0.7798 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/0.5785, allocations: 1.156 MB / 0.7809 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5785, allocations: 43.94 kB / 0.7809 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.955e-06/0.5785, allocations: 2.719 kB / 0.7809 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002225/0.5807, allocations: 0.8866 MB / 0.7818 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5808, allocations: 57.12 kB / 0.7819 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.583, allocations: 1.751 MB / 0.7836 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.5831, allocations: 42.17 kB / 0.7836 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006313/0.5837, allocations: 0.9417 MB / 0.7845 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.5839, allocations: 199.1 kB / 0.7847 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.5842, allocations: 227.8 kB / 0.7849 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5843, allocations: 348 kB / 0.7853 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.585, allocations: 324.1 kB / 0.7856 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.5858, allocations: 0.683 MB / 0.7863 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5872, allocations: 0.9901 MB / 0.7872 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.5872, allocations: 6.875 kB / 0.7872 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002193/0.5894, allocations: 1.198 MB / 0.7884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5894, allocations: 9.906 kB / 0.7884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.5895, allocations: 10.97 kB / 0.7884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.5895, allocations: 12.66 kB / 0.7884 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.5904, allocations: 293.9 kB / 0.7887 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.5905, allocations: 24.75 kB / 0.7887 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.5923, allocations: 237.9 kB / 0.789 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.5924, allocations: 54.56 kB / 0.789 GB, free: 12.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (134): * Single equations (assignments): 134 * 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.0007793/0.5932, allocations: 431.4 kB / 0.7894 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.5935, allocations: 187.4 kB / 0.7896 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.595, allocations: 0.8195 MB / 0.7904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.5951, allocations: 5.875 kB / 0.7904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5951, allocations: 0 / 0.7904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.5963, allocations: 0.7525 MB / 0.7911 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.6002, allocations: 2.255 MB / 0.7933 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6002, allocations: 0 / 0.7933 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.6009, allocations: 174.6 kB / 0.7935 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6009, allocations: 2.781 kB / 0.7935 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.6009, allocations: 17.72 kB / 0.7935 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.601, allocations: 3.984 kB / 0.7935 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.601, allocations: 6.812 kB / 0.7935 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/0.6101, allocations: 6.037 MB / 0.7994 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.6107, allocations: 352.2 kB / 0.7998 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.6109, allocations: 14.97 kB / 0.7998 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/0.6118, allocations: 104.7 kB / 0.7999 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.6119, allocations: 41.16 kB / 0.7999 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.612, allocations: 21.77 kB / 0.7999 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001569/0.6135, allocations: 1.211 MB / 0.8011 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6136, allocations: 2.812 kB / 0.8011 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002661/0.6162, allocations: 0.8823 MB / 0.802 GB, free: 7.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001145/0.6174, allocations: 0.5789 MB / 0.8026 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.619, allocations: 0.7816 MB / 0.8033 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.619, allocations: 0 / 0.8033 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.6196, allocations: 321.1 kB / 0.8036 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/0.6254, allocations: 1.201 MB / 0.8048 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.6308, allocations: 4.048 MB / 0.8088 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.6318, allocations: 1.415 MB / 0.8101 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001761/0.6335, allocations: 359.4 kB / 0.8105 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.6339, allocations: 146.5 kB / 0.8106 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/0.6339, allocations: 0 / 0.8106 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.06633/0.7002, allocations: 41.13 MB / 0.8508 GB, free: 9.43 MB / 0.573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)