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/BuildSysPro 3.4.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.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6424/0.6424, allocations: 117.9 MB / 133.9 MB, free: 4.52 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.001178/0.001178, allocations: 187 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 394.8 MB, free: 20.94 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.0008674/0.000868, allocations: 99.11 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004021, allocations: 16 kB / 0.5423 GB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3684, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.134, allocations: 367.1 MB / 0.9736 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.135, allocations: 99.53 kB / 0.9737 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.645, allocations: 418.6 MB / 1.382 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/2.645, allocations: 4 kB / 1.382 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001668/2.646, allocations: 27.94 kB / 1.383 GB, free: 113.3 MB / 0.6355 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.003768/2.649, allocations: 1.437 MB / 1.384 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/2.649, allocations: 10.94 kB / 1.384 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/2.65, allocations: 138.7 kB / 1.384 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03725/2.687, allocations: 21.04 MB / 1.405 GB, free: 91.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/2.687, allocations: 58.38 kB / 1.405 GB, free: 91.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/2.688, allocations: 72.38 kB / 1.405 GB, free: 90.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/2.689, allocations: 0.7603 MB / 1.405 GB, free: 90.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/2.689, allocations: 7.219 kB / 1.405 GB, free: 90.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/2.689, allocations: 28 kB / 1.406 GB, free: 90.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/2.689, allocations: 24.44 kB / 1.406 GB, free: 90.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/2.691, allocations: 0.5576 MB / 1.406 GB, free: 89.57 MB / 0.6355 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.005581/2.696, allocations: 3.622 MB / 1.41 GB, free: 85.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/2.697, allocations: 331.9 kB / 1.41 GB, free: 85.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/2.697, allocations: 162.6 kB / 1.41 GB, free: 85.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/2.698, allocations: 0.6547 MB / 1.411 GB, free: 84.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/2.698, allocations: 41.38 kB / 1.411 GB, free: 84.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.746e-06/2.698, allocations: 0 / 1.411 GB, free: 84.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001367/2.699, allocations: 497.9 kB / 1.411 GB, free: 83.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/2.699, allocations: 55.41 kB / 1.411 GB, free: 83.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/2.701, allocations: 0.8867 MB / 1.412 GB, free: 82.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/2.701, allocations: 33.7 kB / 1.412 GB, free: 82.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/2.701, allocations: 0.5129 MB / 1.413 GB, free: 82.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/2.701, allocations: 98.64 kB / 1.413 GB, free: 82.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/2.701, allocations: 8 kB / 1.413 GB, free: 82.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001226/2.702, allocations: 322 kB / 1.413 GB, free: 81.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/2.702, allocations: 143.5 kB / 1.413 GB, free: 81.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/2.702, allocations: 372.5 kB / 1.414 GB, free: 81.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/2.703, allocations: 492.4 kB / 1.414 GB, free: 80.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/2.703, allocations: 0 / 1.414 GB, free: 80.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001264/2.704, allocations: 0.5638 MB / 1.415 GB, free: 80.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.705, allocations: 8 kB / 1.415 GB, free: 80.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.705, allocations: 8 kB / 1.415 GB, free: 80.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/2.705, allocations: 10.16 kB / 1.415 GB, free: 80.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/2.705, allocations: 114.8 kB / 1.415 GB, free: 80.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/2.705, allocations: 15.92 kB / 1.415 GB, free: 80.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/2.706, allocations: 115.9 kB / 1.415 GB, free: 79.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/2.706, allocations: 24 kB / 1.415 GB, free: 79.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 54 * 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.000629/2.707, allocations: 280.2 kB / 1.415 GB, free: 79.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/2.707, allocations: 98.78 kB / 1.415 GB, free: 79.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009389/2.708, allocations: 444.1 kB / 1.416 GB, free: 79.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/2.708, allocations: 10.48 kB / 1.416 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.708, allocations: 2.531 kB / 1.416 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005427/2.709, allocations: 380 kB / 1.416 GB, free: 78.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/2.711, allocations: 1.175 MB / 1.417 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.711, allocations: 2.531 kB / 1.417 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/2.711, allocations: 63.89 kB / 1.417 GB, free: 77.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/2.711, allocations: 4 kB / 1.417 GB, free: 77.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/2.711, allocations: 10.91 kB / 1.417 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/2.711, allocations: 3.984 kB / 1.417 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/2.711, allocations: 0 / 1.417 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/2.712, allocations: 0.6509 MB / 1.418 GB, free: 76.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/2.713, allocations: 219.8 kB / 1.418 GB, free: 76.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/2.713, allocations: 7.984 kB / 1.418 GB, free: 76.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/2.714, allocations: 57.77 kB / 1.418 GB, free: 76.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/2.714, allocations: 23.86 kB / 1.418 GB, free: 76.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/2.714, allocations: 11.98 kB / 1.418 GB, free: 76.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009258/2.715, allocations: 0.6438 MB / 1.419 GB, free: 75.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.6e-07/2.715, allocations: 0 / 1.419 GB, free: 75.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001353/2.716, allocations: 343.5 kB / 1.419 GB, free: 75.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001081/2.717, allocations: 0.546 MB / 1.42 GB, free: 74.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007384/2.718, allocations: 356.8 kB / 1.42 GB, free: 74.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.718, allocations: 0 / 1.42 GB, free: 74.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/2.718, allocations: 148.3 kB / 1.42 GB, free: 74.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/2.721, allocations: 0.5801 MB / 1.421 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/2.724, allocations: 1.892 MB / 1.423 GB, free: 71.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/2.724, allocations: 1.032 MB / 1.424 GB, free: 70.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008328/2.725, allocations: 182.8 kB / 1.424 GB, free: 70.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/2.725, allocations: 71.42 kB / 1.424 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/2.725, allocations: 4 kB / 1.424 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.03171/2.757, allocations: 21.4 MB / 1.445 GB, free: 49.62 MB / 0.6355 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)