Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 190.3 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001029/0.00103, allocations: 96.28 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.699e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.699/7.949, allocations: 2.441 GB / 3.333 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/7.949, allocations: 86.08 kB / 3.333 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.824/10.77, allocations: 0.7635 GB / 4.097 GB, free: 97.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/10.77, allocations: 0 / 4.097 GB, free: 97.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.117e-05/10.77, allocations: 24 kB / 4.097 GB, free: 97.41 MB / 0.8698 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.003921/10.78, allocations: 1.544 MB / 4.098 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/10.78, allocations: 8.031 kB / 4.098 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/10.78, allocations: 114.5 kB / 4.099 GB, free: 95.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/10.78, allocations: 442.1 kB / 4.099 GB, free: 95.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/10.78, allocations: 1.027 MB / 4.1 GB, free: 94.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/10.78, allocations: 189.9 kB / 4.1 GB, free: 93.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/10.78, allocations: 72 kB / 4.1 GB, free: 93.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/10.78, allocations: 0.9169 MB / 4.101 GB, free: 92.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/10.78, allocations: 11.94 kB / 4.101 GB, free: 92.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/10.78, allocations: 24 kB / 4.101 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/10.78, allocations: 30 kB / 4.101 GB, free: 92.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/10.79, allocations: 0.8512 MB / 4.102 GB, free: 92.07 MB / 0.8698 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.005913/10.79, allocations: 4.17 MB / 4.106 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/10.79, allocations: 0.5285 MB / 4.107 GB, free: 87.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/10.79, allocations: 338.5 kB / 4.107 GB, free: 86.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/10.79, allocations: 0.637 MB / 4.108 GB, free: 85.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006472/10.79, allocations: 441.8 kB / 4.108 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/10.79, allocations: 0 / 4.108 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001345/10.8, allocations: 0.6814 MB / 4.109 GB, free: 84.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/10.8, allocations: 93.56 kB / 4.109 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/10.8, allocations: 0.7101 MB / 4.109 GB, free: 84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/10.8, allocations: 45.7 kB / 4.109 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/10.8, allocations: 432.3 kB / 4.11 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/10.8, allocations: 197.1 kB / 4.11 GB, free: 83.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/10.8, allocations: 12 kB / 4.11 GB, free: 83.31 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/10.8, allocations: 326 kB / 4.11 GB, free: 82.99 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/10.8, allocations: 249.1 kB / 4.111 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/10.8, allocations: 409.5 kB / 4.111 GB, free: 82.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/10.8, allocations: 300.8 kB / 4.111 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/10.8, allocations: 4 kB / 4.111 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001102/10.8, allocations: 0.7611 MB / 4.112 GB, free: 81.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/10.8, allocations: 0.7383 MB / 4.113 GB, free: 80.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/10.8, allocations: 0 / 4.113 GB, free: 80.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/10.8, allocations: 4 kB / 4.113 GB, free: 80.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/10.8, allocations: 239.6 kB / 4.113 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/10.8, allocations: 1.196 MB / 4.114 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/10.8, allocations: 199.2 kB / 4.114 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/10.8, allocations: 32.09 kB / 4.114 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/10.8, allocations: 3.938 kB / 4.114 GB, free: 78.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009734/10.8, allocations: 0.6551 MB / 4.115 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/10.8, allocations: 7.938 kB / 4.115 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/10.8, allocations: 4.188 kB / 4.115 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/10.8, allocations: 223.8 kB / 4.115 GB, free: 77.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/10.81, allocations: 11.94 kB / 4.115 GB, free: 77.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/10.81, allocations: 187.3 kB / 4.115 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/10.81, allocations: 35.95 kB / 4.115 GB, free: 77.58 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0002217/10.81, allocations: 148.8 kB / 4.116 GB, free: 77.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/10.81, allocations: 98.78 kB / 4.116 GB, free: 77.33 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/10.81, allocations: 0.8092 MB / 4.116 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/10.81, allocations: 8 kB / 4.116 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/10.81, allocations: 0 / 4.116 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/10.81, allocations: 3.984 kB / 4.116 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/10.81, allocations: 1.987 MB / 4.118 GB, free: 74.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/10.81, allocations: 0 / 4.118 GB, free: 74.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/10.81, allocations: 228.1 kB / 4.119 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/10.81, allocations: 7.953 kB / 4.119 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/10.81, allocations: 27.98 kB / 4.119 GB, free: 74.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003713/10.81, allocations: 1.188 MB / 4.12 GB, free: 72.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/10.81, allocations: 7.984 kB / 4.12 GB, free: 72.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/10.81, allocations: 1.031 MB / 4.121 GB, free: 71.78 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/10.81, allocations: 291.5 kB / 4.121 GB, free: 71.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/10.81, allocations: 23.94 kB / 4.121 GB, free: 71.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/10.82, allocations: 159.8 kB / 4.121 GB, free: 71.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/10.82, allocations: 64.23 kB / 4.121 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/10.82, allocations: 27.98 kB / 4.121 GB, free: 71.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006315/10.82, allocations: 0.5668 MB / 4.122 GB, free: 70.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/10.82, allocations: 0 / 4.122 GB, free: 70.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001909/10.82, allocations: 0.6204 MB / 4.123 GB, free: 70 MB / 0.8698 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) * 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.00367/10.82, allocations: 3.929 MB / 4.126 GB, free: 65.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002006/10.82, allocations: 1.166 MB / 4.128 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/10.82, allocations: 0 / 4.128 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/10.82, allocations: 415.6 kB / 4.128 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/10.83, allocations: 458 kB / 4.128 GB, free: 63.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/10.83, allocations: 1.529 MB / 4.13 GB, free: 62.24 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/10.83, allocations: 1.06 MB / 4.131 GB, free: 61.15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001482/10.83, allocations: 362.8 kB / 4.131 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/10.83, allocations: 347.3 kB / 4.132 GB, free: 60.45 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/10.83, allocations: 0 / 4.132 GB, free: 60.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.081/10.91, allocations: 55.29 MB / 4.186 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/10.91, allocations: 240.5 kB / 4.186 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/14.96, allocations: 7.938 kB / 4.186 GB, free: 5.066 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)