Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009497/0.0009496, allocations: 178.4 kB / 327.6 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008887/0.0008886, allocations: 95.86 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 13.62 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7099/0.8761, allocations: 405.7 MB / 1.297 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.8764, allocations: 99.27 kB / 1.297 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/2.945, allocations: 0.7692 GB / 2.067 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.575e-06/2.945, allocations: 0 / 2.067 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003143/2.946, allocations: 55.92 kB / 2.067 GB, free: 18.79 MB / 0.8855 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.007535/2.953, allocations: 2.532 MB / 2.069 GB, free: 16.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/2.953, allocations: 16.02 kB / 2.069 GB, free: 16.17 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/2.954, allocations: 261.9 kB / 2.07 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4273/3.382, allocations: 22.11 MB / 2.091 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/3.382, allocations: 106.5 kB / 2.091 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/3.382, allocations: 144.7 kB / 2.091 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/3.384, allocations: 1.48 MB / 2.093 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/3.384, allocations: 7.219 kB / 2.093 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/3.385, allocations: 56.69 kB / 2.093 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/3.385, allocations: 46.11 kB / 2.093 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/3.387, allocations: 1.105 MB / 2.094 GB, free: 116 MB / 0.8855 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.00794/3.395, allocations: 7.514 MB / 2.101 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/3.396, allocations: 0.5159 MB / 2.102 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/3.396, allocations: 358.6 kB / 2.102 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/3.397, allocations: 1.161 MB / 2.103 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/3.397, allocations: 41.75 kB / 2.103 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.767e-06/3.397, allocations: 6.766 kB / 2.103 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002178/3.399, allocations: 1.034 MB / 2.104 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/3.399, allocations: 57.81 kB / 2.104 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/3.401, allocations: 1.709 MB / 2.106 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/3.402, allocations: 44.11 kB / 2.106 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/3.402, allocations: 0.9351 MB / 2.107 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/3.402, allocations: 216.5 kB / 2.107 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/3.402, allocations: 18.72 kB / 2.107 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/3.402, allocations: 343.6 kB / 2.108 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/3.403, allocations: 308.8 kB / 2.108 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006871/3.404, allocations: 0.6805 MB / 2.109 GB, free: 109 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/3.405, allocations: 0.9827 MB / 2.11 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/3.405, allocations: 3.125 kB / 2.11 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001973/3.407, allocations: 1.129 MB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/3.407, allocations: 8.688 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/3.407, allocations: 12.75 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/3.407, allocations: 14.72 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/3.408, allocations: 231.1 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/3.408, allocations: 20.16 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/3.409, allocations: 237 kB / 2.111 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/3.409, allocations: 48.48 kB / 2.111 GB, free: 108.5 MB / 0.8855 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 (111): * Single equations (assignments): 111 * 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.0007909/3.41, allocations: 437.5 kB / 2.112 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/3.41, allocations: 188.8 kB / 2.112 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/3.412, allocations: 0.9257 MB / 2.113 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/3.412, allocations: 6.688 kB / 2.113 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.412, allocations: 2.625 kB / 2.113 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009993/3.413, allocations: 0.8501 MB / 2.114 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/3.416, allocations: 2.484 MB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.416, allocations: 0 / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/3.417, allocations: 182.1 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/3.417, allocations: 10.61 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/3.417, allocations: 16.34 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/3.417, allocations: 6.719 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/3.417, allocations: 2.5 kB / 2.116 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/3.419, allocations: 1.445 MB / 2.118 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006338/3.419, allocations: 387.2 kB / 2.118 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/3.419, allocations: 13.69 kB / 2.118 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009774/3.42, allocations: 136.9 kB / 2.118 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/3.421, allocations: 56.38 kB / 2.118 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/3.421, allocations: 34.7 kB / 2.118 GB, free: 107 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0014/3.422, allocations: 1.184 MB / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/3.422, allocations: 0 / 2.119 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001743/3.424, allocations: 0.6676 MB / 2.12 GB, free: 106.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001626/3.425, allocations: 0.9448 MB / 2.121 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00165/3.427, allocations: 0.7942 MB / 2.122 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/3.427, allocations: 2.656 kB / 2.122 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/3.428, allocations: 396 kB / 2.122 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/3.433, allocations: 1.24 MB / 2.123 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/3.437, allocations: 3.688 MB / 2.127 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/3.438, allocations: 1.409 MB / 2.128 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001431/3.439, allocations: 379.9 kB / 2.129 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/3.44, allocations: 141.8 kB / 2.129 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.784e-06/3.44, allocations: 0 / 2.129 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.05686/3.497, allocations: 44.11 MB / 2.172 GB, free: 102.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)