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.435/1.435, allocations: 252 MB / 267.3 MB, free: 10.84 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.0011/0.0011, allocations: 169 kB / 327 MB, free: 2.09 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.973/1.973, allocations: 205.4 MB / 0.578 GB, free: 20.41 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.0009163/0.0009163, allocations: 103 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.000383, allocations: 8.812 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.898/1.151, allocations: 195.2 MB / 1.092 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01324/1.165, allocations: 7.616 MB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/1.167, allocations: 35.03 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/1.169, allocations: 0.5644 MB / 1.1 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006927/1.176, allocations: 1.923 MB / 1.101 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/1.18, allocations: 1.052 MB / 1.102 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005649/1.185, allocations: 3.462 MB / 1.106 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/1.187, allocations: 0.8027 MB / 1.107 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/1.19, allocations: 1.292 MB / 1.108 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/1.193, allocations: 0.8273 MB / 1.109 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/1.193, allocations: 40.25 kB / 1.109 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/1.198, allocations: 1.961 MB / 1.111 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/1.199, allocations: 273 kB / 1.111 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.2, allocations: 0.5583 MB / 1.111 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/1.204, allocations: 2.116 MB / 1.114 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.204, allocations: 0 / 1.114 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.204, allocations: 4 kB / 1.114 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.204, allocations: 1.969 kB / 1.114 GB, free: 0.9102 MB / 0.698 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.003452/1.207, allocations: 1.464 MB / 1.115 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.207, allocations: 8.781 kB / 1.115 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/1.207, allocations: 120.2 kB / 1.115 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.21, allocations: 475 kB / 1.116 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.211, allocations: 0.9157 MB / 1.116 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/1.212, allocations: 191.7 kB / 1.117 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.212, allocations: 68.31 kB / 1.117 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/1.215, allocations: 1.131 MB / 1.118 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.215, allocations: 4 kB / 1.118 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/1.215, allocations: 40.17 kB / 1.118 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/1.215, allocations: 33.61 kB / 1.118 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/1.218, allocations: 1.266 MB / 1.119 GB, free: 15.43 MB / 0.7136 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.007017/1.225, allocations: 4.163 MB / 1.123 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.228, allocations: 0.9545 MB / 1.124 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.229, allocations: 0.5319 MB / 1.125 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/1.23, allocations: 0.6505 MB / 1.125 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/1.231, allocations: 0.6334 MB / 1.126 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/1.231, allocations: 0 / 1.126 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004605/1.236, allocations: 1.529 MB / 1.127 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/1.236, allocations: 84.83 kB / 1.127 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.238, allocations: 0.8296 MB / 1.128 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.238, allocations: 41.7 kB / 1.128 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/1.238, allocations: 431.4 kB / 1.129 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/1.238, allocations: 191.5 kB / 1.129 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/1.238, allocations: 9.625 kB / 1.129 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.239, allocations: 334.3 kB / 1.129 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/1.24, allocations: 457.9 kB / 1.13 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.242, allocations: 0.5882 MB / 1.13 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/1.245, allocations: 0.9787 MB / 1.131 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.245, allocations: 0 / 1.131 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003103/1.248, allocations: 1.172 MB / 1.132 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.248, allocations: 173.5 kB / 1.132 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.248, allocations: 3.312 kB / 1.132 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.248, allocations: 3.125 kB / 1.132 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.249, allocations: 254.4 kB / 1.133 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009008/1.25, allocations: 1.193 MB / 1.134 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.252, allocations: 191.8 kB / 1.134 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/1.252, allocations: 25.62 kB / 1.134 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.252, allocations: 8 kB / 1.134 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002718/1.254, allocations: 1.062 MB / 1.135 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.254, allocations: 4.688 kB / 1.135 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.254, allocations: 7.484 kB / 1.135 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009933/1.255, allocations: 227.4 kB / 1.135 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.255, allocations: 2.531 kB / 1.135 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.257, allocations: 189.2 kB / 1.136 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/1.257, allocations: 31.55 kB / 1.136 GB, free: 9.602 MB / 0.7136 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006891/1.258, allocations: 344.5 kB / 1.136 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/1.258, allocations: 99.09 kB / 1.136 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/1.261, allocations: 1.202 MB / 1.137 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.261, allocations: 12.77 kB / 1.137 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.261, allocations: 3.938 kB / 1.137 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.261, allocations: 0 / 1.137 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/1.266, allocations: 2.399 MB / 1.14 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.267, allocations: 3 kB / 1.14 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.268, allocations: 219.2 kB / 1.14 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/1.268, allocations: 8.656 kB / 1.14 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/1.268, allocations: 19.67 kB / 1.14 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007516/1.268, allocations: 1.189 MB / 1.141 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.268, allocations: 2.906 kB / 1.141 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/1.272, allocations: 1.301 MB / 1.142 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/1.272, allocations: 290.1 kB / 1.142 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.272, allocations: 13.66 kB / 1.142 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.274, allocations: 162 kB / 1.143 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.274, allocations: 61.84 kB / 1.143 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/1.274, allocations: 34.47 kB / 1.143 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001011/1.275, allocations: 0.5795 MB / 1.143 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/1.275, allocations: 4 kB / 1.143 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001852/1.277, allocations: 487.1 kB / 1.144 GB, free: 5.789 MB / 0.7136 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004249/1.281, allocations: 2.034 MB / 1.146 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005258/1.287, allocations: 1.746 MB / 1.147 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.287, allocations: 0 / 1.147 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/1.288, allocations: 0.6 MB / 1.148 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.291, allocations: 468.4 kB / 1.149 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.312, allocations: 8.699 MB / 1.157 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/1.313, allocations: 1.041 MB / 1.158 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001672/1.314, allocations: 286 kB / 1.158 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/1.315, allocations: 352.9 kB / 1.159 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.355e-06/1.315, allocations: 3.312 kB / 1.159 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06005/1.375, allocations: 25.82 MB / 1.184 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/1.375, allocations: 302.9 kB / 1.184 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/4.512, allocations: 0 / 1.184 GB, free: 5.219 MB / 0.7448 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)