Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 293 MB / 309 MB, free: 4.789 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.0009805/0.0009805, allocations: 172.2 kB / 378.7 MB, free: 1.023 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.653/1.653, allocations: 205.4 MB / 0.6383 GB, free: 8.191 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.0007885/0.0007887, allocations: 98.64 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 19.98 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2863, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.417, allocations: 2.326 GB / 3.316 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/6.418, allocations: 96.34 kB / 3.316 GB, free: 253.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.642/9.06, allocations: 0.7813 GB / 4.098 GB, free: 131.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.465e-06/9.06, allocations: 0 / 4.098 GB, free: 131.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001821/9.06, allocations: 34.12 kB / 4.098 GB, free: 131.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006359/9.066, allocations: 1.702 MB / 4.099 GB, free: 130.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/9.066, allocations: 11.06 kB / 4.099 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/9.069, allocations: 445.1 kB / 4.1 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/9.072, allocations: 1.069 MB / 4.101 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/9.073, allocations: 196.2 kB / 4.101 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/9.073, allocations: 70.97 kB / 4.101 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/9.076, allocations: 1.127 MB / 4.102 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/9.076, allocations: 0 / 4.102 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/9.076, allocations: 33.47 kB / 4.102 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/9.076, allocations: 32.3 kB / 4.102 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/9.08, allocations: 1.24 MB / 4.103 GB, free: 130.1 MB / 0.948 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.007792/9.088, allocations: 4.17 MB / 4.107 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/9.09, allocations: 0.9126 MB / 4.108 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/9.091, allocations: 0.5226 MB / 4.109 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/9.092, allocations: 0.6387 MB / 4.11 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/9.093, allocations: 0.6311 MB / 4.11 GB, free: 126.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/9.093, allocations: 0 / 4.11 GB, free: 126.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.004316/9.098, allocations: 1.507 MB / 4.112 GB, free: 126.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/9.098, allocations: 88.73 kB / 4.112 GB, free: 126.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/9.099, allocations: 0.8276 MB / 4.112 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/9.099, allocations: 41.58 kB / 4.113 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/9.1, allocations: 439.4 kB / 4.113 GB, free: 125.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/9.1, allocations: 194.4 kB / 4.113 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/9.1, allocations: 8 kB / 4.113 GB, free: 125.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/9.1, allocations: 327.8 kB / 4.113 GB, free: 125 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/9.101, allocations: 449.6 kB / 4.114 GB, free: 124.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/9.102, allocations: 0.5988 MB / 4.114 GB, free: 124.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/9.105, allocations: 0.9842 MB / 4.115 GB, free: 124.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/9.105, allocations: 0 / 4.115 GB, free: 124.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002885/9.108, allocations: 1.159 MB / 4.117 GB, free: 123.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/9.108, allocations: 184.5 kB / 4.117 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/9.108, allocations: 3.984 kB / 4.117 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/9.108, allocations: 6.125 kB / 4.117 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/9.109, allocations: 260.8 kB / 4.117 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/9.11, allocations: 1.19 MB / 4.118 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/9.111, allocations: 199.7 kB / 4.118 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/9.112, allocations: 26.61 kB / 4.118 GB, free: 122.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/9.112, allocations: 3.969 kB / 4.118 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002519/9.114, allocations: 1.056 MB / 4.119 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/9.114, allocations: 3.75 kB / 4.119 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/9.114, allocations: 5.844 kB / 4.119 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/9.115, allocations: 227.2 kB / 4.12 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/9.115, allocations: 3.875 kB / 4.12 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/9.117, allocations: 194.4 kB / 4.12 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/9.117, allocations: 34.86 kB / 4.12 GB, free: 121.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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.0007693/9.118, allocations: 348.4 kB / 4.12 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/9.118, allocations: 97.06 kB / 4.12 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/9.121, allocations: 1.191 MB / 4.121 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/9.121, allocations: 14.12 kB / 4.121 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/9.121, allocations: 7.875 kB / 4.121 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/9.121, allocations: 3.469 kB / 4.121 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/9.127, allocations: 2.364 MB / 4.124 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/9.127, allocations: 7.219 kB / 4.124 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/9.128, allocations: 219.8 kB / 4.124 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/9.128, allocations: 7.562 kB / 4.124 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/9.128, allocations: 19.62 kB / 4.124 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004664/9.128, allocations: 1.192 MB / 4.125 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-06/9.128, allocations: 7.906 kB / 4.125 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/9.131, allocations: 1.289 MB / 4.126 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/9.132, allocations: 284 kB / 4.127 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/9.132, allocations: 16.94 kB / 4.127 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/9.134, allocations: 153 kB / 4.127 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/9.134, allocations: 58.72 kB / 4.127 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/9.134, allocations: 39.5 kB / 4.127 GB, free: 118.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001012/9.135, allocations: 0.5699 MB / 4.128 GB, free: 117.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.135, allocations: 0 / 4.128 GB, free: 117.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002689/9.138, allocations: 0.624 MB / 4.128 GB, free: 117.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003025/9.141, allocations: 1.715 MB / 4.13 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004659/9.145, allocations: 1.748 MB / 4.132 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/9.145, allocations: 0 / 4.132 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/9.147, allocations: 0.5896 MB / 4.132 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/9.15, allocations: 458.4 kB / 4.133 GB, free: 115.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/9.155, allocations: 2.228 MB / 4.135 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/9.156, allocations: 1.047 MB / 4.136 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00172/9.157, allocations: 297.9 kB / 4.136 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/9.158, allocations: 81.48 kB / 4.136 GB, free: 113.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/9.158, allocations: 0 / 4.136 GB, free: 113.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05722/9.215, allocations: 36.45 MB / 4.172 GB, free: 102.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)