Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 177.5 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008522/0.000852, allocations: 93.58 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004703, allocations: 20 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3094, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.089/6.398, allocations: 2.09 GB / 3.081 GB, free: 125.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/6.398, allocations: 89.11 kB / 3.081 GB, free: 125.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.971/10.37, allocations: 0.9906 GB / 4.071 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.966e-06/10.37, allocations: 0 / 4.071 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001806/10.37, allocations: 31.5 kB / 4.072 GB, free: 137.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006969/10.38, allocations: 1.894 MB / 4.073 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/10.38, allocations: 8.281 kB / 4.073 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/10.38, allocations: 0.5401 MB / 4.074 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/10.38, allocations: 1.103 MB / 4.075 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/10.38, allocations: 193.6 kB / 4.075 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/10.38, allocations: 88.03 kB / 4.075 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/10.39, allocations: 1.347 MB / 4.077 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/10.39, allocations: 0 / 4.077 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/10.39, allocations: 36.02 kB / 4.077 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/10.39, allocations: 51.55 kB / 4.077 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/10.39, allocations: 1.571 MB / 4.078 GB, free: 136.3 MB / 0.9636 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.007408/10.4, allocations: 4.1 MB / 4.082 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/10.4, allocations: 1.054 MB / 4.083 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/10.4, allocations: 0.7014 MB / 4.084 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/10.4, allocations: 0.6036 MB / 4.084 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/10.4, allocations: 49.41 kB / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/10.4, allocations: 0 / 4.085 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78): time 0.004916/10.41, allocations: 1.924 MB / 4.086 GB, free: 134 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/10.41, allocations: 59.91 kB / 4.086 GB, free: 134 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/10.41, allocations: 0.8146 MB / 4.087 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/10.41, allocations: 45.89 kB / 4.087 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/10.41, allocations: 447.6 kB / 4.088 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/10.41, allocations: 272.5 kB / 4.088 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/10.41, allocations: 12.5 kB / 4.088 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001099/10.41, allocations: 340.8 kB / 4.088 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/10.41, allocations: 0.5689 MB / 4.089 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/10.41, allocations: 0.721 MB / 4.09 GB, free: 133 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/10.42, allocations: 1.238 MB / 4.091 GB, free: 133 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/10.42, allocations: 0 / 4.091 GB, free: 133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003251/10.42, allocations: 1.44 MB / 4.092 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/10.42, allocations: 156.8 kB / 4.092 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/10.42, allocations: 0 / 4.092 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/10.42, allocations: 4.75 kB / 4.092 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/10.42, allocations: 294.5 kB / 4.093 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005681/10.42, allocations: 1.189 MB / 4.094 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/10.42, allocations: 200.4 kB / 4.094 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/10.42, allocations: 43.95 kB / 4.094 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/10.42, allocations: 3.719 kB / 4.094 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002869/10.43, allocations: 1.338 MB / 4.095 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/10.43, allocations: 0 / 4.095 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/10.43, allocations: 3.938 kB / 4.095 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/10.43, allocations: 260.2 kB / 4.096 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/10.43, allocations: 9.203 kB / 4.096 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/10.43, allocations: 194.3 kB / 4.096 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/10.43, allocations: 39.22 kB / 4.096 GB, free: 131.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007655/10.43, allocations: 377.3 kB / 4.096 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/10.43, allocations: 111.1 kB / 4.096 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/10.43, allocations: 1.451 MB / 4.098 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/10.43, allocations: 8.438 kB / 4.098 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/10.43, allocations: 3.25 kB / 4.098 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/10.43, allocations: 6.656 kB / 4.098 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/10.44, allocations: 2.92 MB / 4.101 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/10.44, allocations: 11.47 kB / 4.101 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/10.44, allocations: 248.5 kB / 4.101 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/10.44, allocations: 6.406 kB / 4.101 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/10.44, allocations: 27.98 kB / 4.101 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000436/10.44, allocations: 1.193 MB / 4.102 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/10.44, allocations: 13.59 kB / 4.102 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/10.44, allocations: 1.545 MB / 4.104 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/10.45, allocations: 320.3 kB / 4.104 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/10.45, allocations: 24.72 kB / 4.104 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/10.45, allocations: 160 kB / 4.104 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/10.45, allocations: 70.34 kB / 4.104 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/10.45, allocations: 36.47 kB / 4.104 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009478/10.45, allocations: 0.5629 MB / 4.105 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/10.45, allocations: 0 / 4.105 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002881/10.45, allocations: 0.7561 MB / 4.105 GB, free: 128.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003777/10.46, allocations: 2.373 MB / 4.108 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005262/10.46, allocations: 2.164 MB / 4.11 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/10.46, allocations: 3 kB / 4.11 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/10.46, allocations: 0.7078 MB / 4.111 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/10.47, allocations: 0.5025 MB / 4.111 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/10.47, allocations: 2.54 MB / 4.114 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/10.47, allocations: 1.099 MB / 4.115 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001994/10.47, allocations: 407 kB / 4.115 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/10.47, allocations: 93.81 kB / 4.115 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/10.47, allocations: 3.125 kB / 4.115 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.06535/10.54, allocations: 46.21 MB / 4.16 GB, free: 120.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)