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.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001122/0.001123, allocations: 178.7 kB / 371.6 MB, free: 3.391 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.937/1.937, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.00109/0.00109, allocations: 90.8 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.351e-05/5.378e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3193, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.654/7.974, allocations: 2.326 GB / 3.305 GB, free: 226.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/7.974, allocations: 81.02 kB / 3.305 GB, free: 226.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.233/11.21, allocations: 0.7869 GB / 4.092 GB, free: 130.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/11.21, allocations: 0 / 4.092 GB, free: 130.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.741e-05/11.21, allocations: 27.58 kB / 4.092 GB, free: 130.6 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.004015/11.21, allocations: 1.529 MB / 4.094 GB, free: 129.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/11.21, allocations: 10.56 kB / 4.094 GB, free: 129.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/11.21, allocations: 112.7 kB / 4.094 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/11.21, allocations: 448.5 kB / 4.094 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/11.22, allocations: 1.012 MB / 4.095 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006067/11.22, allocations: 195.2 kB / 4.096 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/11.22, allocations: 77.53 kB / 4.096 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/11.22, allocations: 0.9211 MB / 4.097 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/11.22, allocations: 0 / 4.097 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/11.22, allocations: 27.5 kB / 4.097 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/11.22, allocations: 26.59 kB / 4.097 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/11.22, allocations: 0.8488 MB / 4.097 GB, free: 128 MB / 0.948 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.005982/11.23, allocations: 4.167 MB / 4.101 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/11.23, allocations: 0.5267 MB / 4.102 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/11.23, allocations: 339.6 kB / 4.102 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/11.23, allocations: 0.6405 MB / 4.103 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/11.23, allocations: 439.8 kB / 4.103 GB, free: 123.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.995e-06/11.23, allocations: 0 / 4.103 GB, free: 123.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001386/11.23, allocations: 0.6803 MB / 4.104 GB, free: 123.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/11.23, allocations: 88.39 kB / 4.104 GB, free: 123.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/11.23, allocations: 0.7199 MB / 4.105 GB, free: 123.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/11.23, allocations: 43.36 kB / 4.105 GB, free: 123.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/11.23, allocations: 426.4 kB / 4.105 GB, free: 122.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/11.23, allocations: 201.3 kB / 4.105 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/11.23, allocations: 11.94 kB / 4.105 GB, free: 122.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/11.23, allocations: 333.2 kB / 4.106 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/11.23, allocations: 257.2 kB / 4.106 GB, free: 122.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/11.23, allocations: 400 kB / 4.106 GB, free: 122 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/11.23, allocations: 306.6 kB / 4.107 GB, free: 121.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/11.23, allocations: 0 / 4.107 GB, free: 121.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00116/11.23, allocations: 0.7673 MB / 4.107 GB, free: 121.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/11.23, allocations: 0.7257 MB / 4.108 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/11.23, allocations: 8 kB / 4.108 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/11.23, allocations: 7.891 kB / 4.108 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/11.24, allocations: 245.5 kB / 4.108 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004953/11.24, allocations: 1.192 MB / 4.11 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/11.24, allocations: 191.9 kB / 4.11 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/11.24, allocations: 33.81 kB / 4.11 GB, free: 119.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/11.24, allocations: 12.98 kB / 4.11 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/11.24, allocations: 0.6563 MB / 4.11 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/11.24, allocations: 3.688 kB / 4.11 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/11.24, allocations: 3.906 kB / 4.11 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/11.24, allocations: 226.1 kB / 4.111 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/11.24, allocations: 3.281 kB / 4.111 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/11.24, allocations: 200.7 kB / 4.111 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/11.24, allocations: 26.67 kB / 4.111 GB, free: 119.1 MB / 0.948 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.0002205/11.24, allocations: 146.1 kB / 4.111 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/11.24, allocations: 102.4 kB / 4.111 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/11.24, allocations: 0.8115 MB / 4.112 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/11.24, allocations: 3.531 kB / 4.112 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/11.24, allocations: 0 / 4.112 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/11.24, allocations: 7.469 kB / 4.112 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/11.25, allocations: 1.998 MB / 4.114 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/11.25, allocations: 352 / 4.114 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/11.25, allocations: 214.8 kB / 4.114 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/11.25, allocations: 10.69 kB / 4.114 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/11.25, allocations: 23.81 kB / 4.114 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003737/11.25, allocations: 1.185 MB / 4.115 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/11.25, allocations: 11.22 kB / 4.115 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/11.25, allocations: 1.038 MB / 4.116 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/11.25, allocations: 292.5 kB / 4.117 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/11.25, allocations: 19.44 kB / 4.117 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/11.25, allocations: 157 kB / 4.117 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/11.25, allocations: 65.75 kB / 4.117 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/11.25, allocations: 30.22 kB / 4.117 GB, free: 115.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007193/11.25, allocations: 0.5659 MB / 4.117 GB, free: 115.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/11.25, allocations: 0 / 4.117 GB, free: 115.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001982/11.25, allocations: 0.6264 MB / 4.118 GB, free: 115 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) * 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.004016/11.26, allocations: 3.913 MB / 4.122 GB, free: 112.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002254/11.26, allocations: 1.17 MB / 4.123 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/11.26, allocations: 7.156 kB / 4.123 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/11.26, allocations: 402.3 kB / 4.123 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/11.26, allocations: 463.3 kB / 4.124 GB, free: 111.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/11.27, allocations: 1.555 MB / 4.125 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/11.27, allocations: 1.065 MB / 4.126 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0017/11.27, allocations: 351.7 kB / 4.127 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/11.27, allocations: 346.4 kB / 4.127 GB, free: 109.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.235e-06/11.27, allocations: 0 / 4.127 GB, free: 109.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08983/11.36, allocations: 55.27 MB / 4.181 GB, free: 66.63 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/11.36, allocations: 233.9 kB / 4.181 GB, free: 66.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.173/15.53, allocations: 0 / 4.181 GB, free: 66.36 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)