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.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.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/BuildSysPro 3.5.0/package.mo): time 0.8764/0.8764, allocations: 128.7 MB / 143.7 MB, free: 2.293 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.001992/0.001992, allocations: 174.3 kB / 173.8 MB, free: 6.137 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.941/1.941, allocations: 205.4 MB / 409 MB, free: 10.52 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.001061/0.001061, allocations: 98.55 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003641, allocations: 11.02 kB / 0.5603 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.325, allocations: 368.2 MB / 0.9948 GB, free: 241.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.325, allocations: 99.5 kB / 0.9949 GB, free: 241.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.113/2.439, allocations: 421.2 MB / 1.406 GB, free: 93.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/2.439, allocations: 0 / 1.406 GB, free: 93.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001327/2.439, allocations: 35.47 kB / 1.406 GB, free: 93.44 MB / 0.6511 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.003194/2.442, allocations: 1.449 MB / 1.408 GB, free: 91.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/2.442, allocations: 16.02 kB / 1.408 GB, free: 91.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/2.443, allocations: 134.5 kB / 1.408 GB, free: 91.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03857/2.481, allocations: 22.61 MB / 1.43 GB, free: 69.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/2.481, allocations: 54 kB / 1.43 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/2.481, allocations: 72 kB / 1.43 GB, free: 69.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/2.483, allocations: 0.7554 MB / 1.431 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/2.483, allocations: 0 / 1.431 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/2.483, allocations: 34.83 kB / 1.431 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/2.483, allocations: 23.95 kB / 1.431 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/2.484, allocations: 0.5555 MB / 1.431 GB, free: 68.1 MB / 0.6511 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.003387/2.487, allocations: 3.639 MB / 1.435 GB, free: 64.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/2.488, allocations: 341 kB / 1.435 GB, free: 63.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/2.488, allocations: 0.6614 MB / 1.436 GB, free: 63.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/2.488, allocations: 34.56 kB / 1.436 GB, free: 63.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/2.488, allocations: 4 kB / 1.436 GB, free: 63.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0009114/2.489, allocations: 496.1 kB / 1.436 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/2.489, allocations: 51.41 kB / 1.437 GB, free: 62.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/2.49, allocations: 0.7994 MB / 1.437 GB, free: 61.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/2.49, allocations: 37.64 kB / 1.437 GB, free: 61.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/2.49, allocations: 0.5092 MB / 1.438 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/2.49, allocations: 90.58 kB / 1.438 GB, free: 61.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/2.49, allocations: 8 kB / 1.438 GB, free: 61.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/2.49, allocations: 318 kB / 1.438 GB, free: 60.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/2.491, allocations: 144.8 kB / 1.438 GB, free: 60.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/2.491, allocations: 378.2 kB / 1.439 GB, free: 60.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/2.491, allocations: 207.1 kB / 1.439 GB, free: 59.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.491, allocations: 0 / 1.439 GB, free: 59.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008209/2.492, allocations: 0.571 MB / 1.439 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/2.492, allocations: 10.19 kB / 1.439 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/2.492, allocations: 4 kB / 1.439 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/2.492, allocations: 8 kB / 1.44 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/2.493, allocations: 119.8 kB / 1.44 GB, free: 59.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/2.493, allocations: 16.23 kB / 1.44 GB, free: 59.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/2.493, allocations: 115.2 kB / 1.44 GB, free: 59.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/2.493, allocations: 27.98 kB / 1.44 GB, free: 59.01 MB / 0.6511 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.0002983/2.494, allocations: 273.6 kB / 1.44 GB, free: 58.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/2.494, allocations: 90.88 kB / 1.44 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/2.494, allocations: 465.2 kB / 1.441 GB, free: 58.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/2.495, allocations: 4 kB / 1.441 GB, free: 58.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/2.495, allocations: 0 / 1.441 GB, free: 58.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000483/2.495, allocations: 387.3 kB / 1.441 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/2.496, allocations: 1.185 MB / 1.442 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.496, allocations: 0 / 1.442 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/2.497, allocations: 64.03 kB / 1.442 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/2.497, allocations: 4 kB / 1.442 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/2.497, allocations: 11.98 kB / 1.442 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/2.497, allocations: 3.953 kB / 1.442 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/2.497, allocations: 4 kB / 1.442 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/2.498, allocations: 0.6987 MB / 1.443 GB, free: 55.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/2.498, allocations: 223.7 kB / 1.443 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/2.498, allocations: 8 kB / 1.443 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/2.498, allocations: 51.92 kB / 1.443 GB, free: 55.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/2.498, allocations: 19.92 kB / 1.443 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/2.499, allocations: 15.98 kB / 1.443 GB, free: 55.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006401/2.499, allocations: 0.6594 MB / 1.444 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/2.499, allocations: 0 / 1.444 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00105/2.5, allocations: 343.5 kB / 1.444 GB, free: 54.36 MB / 0.6511 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.0008405/2.501, allocations: 0.5688 MB / 1.445 GB, free: 53.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006209/2.502, allocations: 353.8 kB / 1.445 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.502, allocations: 4.25 kB / 1.445 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/2.502, allocations: 149.7 kB / 1.445 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/2.504, allocations: 0.5905 MB / 1.446 GB, free: 52.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/2.506, allocations: 1.879 MB / 1.448 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/2.506, allocations: 1.048 MB / 1.449 GB, free: 49.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005984/2.507, allocations: 188.2 kB / 1.449 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/2.507, allocations: 71.42 kB / 1.449 GB, free: 49.53 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/2.507, allocations: 0 / 1.449 GB, free: 49.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.03078/2.538, allocations: 21.32 MB / 1.47 GB, free: 28.42 MB / 0.6511 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)