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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.00126/0.00126, allocations: 183 kB / 371.6 MB, free: 3.367 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.966/1.966, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001044/0.001044, allocations: 84.14 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.552e-05, allocations: 8 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.637/6.947, allocations: 2.09 GB / 3.07 GB, free: 151.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/6.947, allocations: 79.95 kB / 3.07 GB, free: 151.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.307/11.25, allocations: 1.001 GB / 4.071 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.743e-06/11.25, allocations: 0 / 4.071 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001894/11.25, allocations: 33.67 kB / 4.071 GB, free: 137.1 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.007134/11.26, allocations: 1.731 MB / 4.072 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/11.26, allocations: 6.938 kB / 4.072 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/11.26, allocations: 0.5411 MB / 4.073 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/11.27, allocations: 1.055 MB / 4.074 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006641/11.27, allocations: 199.3 kB / 4.074 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/11.27, allocations: 84.91 kB / 4.074 GB, free: 136 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/11.27, allocations: 1.136 MB / 4.075 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/11.27, allocations: 0 / 4.075 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/11.27, allocations: 34.17 kB / 4.075 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/11.27, allocations: 49.39 kB / 4.075 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/11.27, allocations: 1.178 MB / 4.077 GB, free: 135.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.006558/11.28, allocations: 4.082 MB / 4.08 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/11.28, allocations: 0.717 MB / 4.081 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/11.28, allocations: 0.5054 MB / 4.082 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/11.28, allocations: 0.6082 MB / 4.082 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/11.28, allocations: 48.2 kB / 4.082 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/11.28, allocations: 0 / 4.082 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.001846/11.28, allocations: 0.9657 MB / 4.083 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/11.28, allocations: 63.59 kB / 4.083 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/11.29, allocations: 0.6996 MB / 4.084 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/11.29, allocations: 46.86 kB / 4.084 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/11.29, allocations: 438.8 kB / 4.084 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/11.29, allocations: 266.1 kB / 4.085 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/11.29, allocations: 15.94 kB / 4.085 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/11.29, allocations: 332.2 kB / 4.085 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/11.29, allocations: 381.5 kB / 4.085 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/11.29, allocations: 0.5096 MB / 4.086 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/11.29, allocations: 450 kB / 4.086 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/11.29, allocations: 0 / 4.086 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001539/11.29, allocations: 1.041 MB / 4.087 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/11.29, allocations: 487.2 kB / 4.088 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/11.29, allocations: 0 / 4.088 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/11.29, allocations: 11.08 kB / 4.088 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/11.29, allocations: 272.1 kB / 4.088 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005001/11.29, allocations: 1.19 MB / 4.089 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/11.29, allocations: 200.9 kB / 4.089 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/11.29, allocations: 42.39 kB / 4.09 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/11.29, allocations: 9.359 kB / 4.09 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/11.29, allocations: 0.94 MB / 4.09 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/11.29, allocations: 0 / 4.09 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/11.29, allocations: 3.875 kB / 4.09 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/11.3, allocations: 253.6 kB / 4.091 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/11.3, allocations: 6.844 kB / 4.091 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/11.3, allocations: 194.4 kB / 4.091 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/11.3, allocations: 35.84 kB / 4.091 GB, free: 130.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0002372/11.3, allocations: 142.1 kB / 4.091 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/11.3, allocations: 112.1 kB / 4.091 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/11.3, allocations: 1.05 MB / 4.092 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/11.3, allocations: 7.625 kB / 4.092 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/11.3, allocations: 0 / 4.092 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/11.3, allocations: 7.703 kB / 4.092 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/11.3, allocations: 2.516 MB / 4.095 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/11.3, allocations: 9.922 kB / 4.095 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/11.3, allocations: 246.3 kB / 4.095 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/11.3, allocations: 9.875 kB / 4.095 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/11.3, allocations: 24.64 kB / 4.095 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003991/11.31, allocations: 1.192 MB / 4.096 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/11.31, allocations: 6.906 kB / 4.096 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/11.31, allocations: 1.334 MB / 4.097 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/11.31, allocations: 310.7 kB / 4.098 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/11.31, allocations: 14.22 kB / 4.098 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/11.31, allocations: 173.4 kB / 4.098 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/11.31, allocations: 61.95 kB / 4.098 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/11.31, allocations: 35.98 kB / 4.098 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008282/11.31, allocations: 0.5535 MB / 4.098 GB, free: 128 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/11.31, allocations: 0 / 4.098 GB, free: 128 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002755/11.31, allocations: 0.754 MB / 4.099 GB, free: 127.9 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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.003723/11.32, allocations: 2.36 MB / 4.102 GB, free: 127 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003006/11.32, allocations: 1.583 MB / 4.103 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/11.32, allocations: 0 / 4.103 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/11.32, allocations: 0.5105 MB / 4.104 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/11.32, allocations: 0.5004 MB / 4.104 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/11.33, allocations: 1.534 MB / 4.106 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/11.33, allocations: 1.116 MB / 4.107 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002239/11.33, allocations: 472.2 kB / 4.107 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/11.33, allocations: 80.31 kB / 4.107 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/11.33, allocations: 0 / 4.107 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.07135/11.4, allocations: 52.95 MB / 4.159 GB, free: 122.8 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)