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.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001174/0.001174, allocations: 188 kB / 326.5 MB, free: 2.23 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.843/1.843, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009568/0.0009569, allocations: 91.56 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 11.75 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2458, allocations: 106.3 MB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/6.652, allocations: 2.442 GB / 3.342 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/6.653, allocations: 88.73 kB / 3.342 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.691/9.344, allocations: 0.7648 GB / 4.107 GB, free: 29.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/9.344, allocations: 0 / 4.107 GB, free: 29.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001645/9.344, allocations: 27.98 kB / 4.107 GB, free: 29.22 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005955/9.35, allocations: 1.714 MB / 4.108 GB, free: 27.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/9.35, allocations: 12.03 kB / 4.108 GB, free: 27.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004101/9.351, allocations: 114.5 kB / 4.108 GB, free: 27.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/9.353, allocations: 446.1 kB / 4.109 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/9.356, allocations: 1.027 MB / 4.11 GB, free: 25.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006132/9.357, allocations: 185.9 kB / 4.11 GB, free: 25.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/9.357, allocations: 76 kB / 4.11 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/9.36, allocations: 1.127 MB / 4.111 GB, free: 24.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/9.36, allocations: 0 / 4.111 GB, free: 24.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/9.36, allocations: 28 kB / 4.111 GB, free: 24.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/9.36, allocations: 33.98 kB / 4.111 GB, free: 24.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/9.363, allocations: 1.237 MB / 4.112 GB, free: 23.1 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.007233/9.37, allocations: 4.162 MB / 4.116 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/9.373, allocations: 0.9264 MB / 4.117 GB, free: 17.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/9.374, allocations: 0.637 MB / 4.118 GB, free: 16.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/9.375, allocations: 0.6265 MB / 4.119 GB, free: 16.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.547e-06/9.375, allocations: 0 / 4.119 GB, free: 16.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.004096/9.379, allocations: 1.505 MB / 4.12 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/9.379, allocations: 85.67 kB / 4.12 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/9.38, allocations: 0.7292 MB / 4.121 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/9.38, allocations: 37.7 kB / 4.121 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/9.381, allocations: 428.4 kB / 4.121 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/9.381, allocations: 197.1 kB / 4.122 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/9.381, allocations: 12 kB / 4.122 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/9.381, allocations: 330 kB / 4.122 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/9.382, allocations: 448.8 kB / 4.122 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/9.384, allocations: 0.591 MB / 4.123 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/9.385, allocations: 0.4917 MB / 4.123 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.385, allocations: 0 / 4.123 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002875/9.388, allocations: 1.14 MB / 4.124 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/9.388, allocations: 0.7343 MB / 4.125 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/9.388, allocations: 4.047 kB / 4.125 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/9.388, allocations: 11.92 kB / 4.125 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/9.389, allocations: 239.7 kB / 4.125 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005691/9.39, allocations: 1.195 MB / 4.127 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/9.391, allocations: 191.4 kB / 4.127 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/9.391, allocations: 35.97 kB / 4.127 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/9.391, allocations: 4 kB / 4.127 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00248/9.394, allocations: 1.045 MB / 4.128 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/9.394, allocations: 4 kB / 4.128 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/9.394, allocations: 4.109 kB / 4.128 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/9.395, allocations: 223.8 kB / 4.128 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/9.395, allocations: 11.98 kB / 4.128 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/9.396, allocations: 187.3 kB / 4.128 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/9.396, allocations: 35.92 kB / 4.128 GB, free: 6.184 MB / 0.8855 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 () * Number of clocked 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.0006912/9.397, allocations: 348.9 kB / 4.129 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/9.397, allocations: 98.78 kB / 4.129 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/9.4, allocations: 1.192 MB / 4.13 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/9.4, allocations: 12 kB / 4.13 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/9.4, allocations: 0 / 4.13 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/9.4, allocations: 3.984 kB / 4.13 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/9.405, allocations: 2.377 MB / 4.132 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/9.405, allocations: 4 kB / 4.132 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/9.406, allocations: 219.7 kB / 4.132 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/9.406, allocations: 8 kB / 4.132 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/9.406, allocations: 23.97 kB / 4.132 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003924/9.407, allocations: 1.192 MB / 4.134 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/9.407, allocations: 0 / 4.134 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6248/10.03, allocations: 1.412 MB / 4.135 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/10.03, allocations: 286.7 kB / 4.135 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/10.03, allocations: 15.83 kB / 4.135 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/10.03, allocations: 165.1 kB / 4.135 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/10.03, allocations: 60.88 kB / 4.135 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/10.03, allocations: 29.14 kB / 4.136 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000838/10.03, allocations: 0.5764 MB / 4.136 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/10.03, allocations: 3.312 kB / 4.136 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002099/10.04, allocations: 0.6297 MB / 4.137 GB, free: 150.6 MB / 0.8855 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.005879/10.04, allocations: 4.297 MB / 4.141 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004949/10.05, allocations: 1.705 MB / 4.143 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/10.05, allocations: 3.531 kB / 4.143 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/10.05, allocations: 0.5912 MB / 4.143 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/10.05, allocations: 451.8 kB / 4.144 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/10.06, allocations: 3.816 MB / 4.147 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/10.06, allocations: 1.063 MB / 4.148 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001712/10.06, allocations: 290.4 kB / 4.149 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/10.06, allocations: 357 kB / 4.149 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.904e-06/10.06, allocations: 0 / 4.149 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08893/10.15, allocations: 49.55 MB / 4.197 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/10.15, allocations: 274.8 kB / 4.198 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/13.98, allocations: 3.938 kB / 4.198 GB, free: 144.4 MB / 0.8855 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)