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.438/1.438, allocations: 249.5 MB / 257 MB, free: 7.004 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.0011/0.0011, allocations: 168.7 kB / 316.3 MB, free: 3.309 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.696/1.696, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009498/0.00095, allocations: 86.53 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.121e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.865/7.091, allocations: 2.442 GB / 3.327 GB, free: 310.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/7.091, allocations: 77.62 kB / 3.327 GB, free: 310.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.528/9.619, allocations: 0.7564 GB / 4.083 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/9.619, allocations: 0 / 4.083 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001047/9.619, allocations: 32.73 kB / 4.083 GB, free: 146.4 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.004245/9.623, allocations: 1.536 MB / 4.085 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/9.623, allocations: 7.906 kB / 4.085 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/9.626, allocations: 444.8 kB / 4.085 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/9.628, allocations: 1.014 MB / 4.086 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/9.629, allocations: 162.2 kB / 4.087 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/9.629, allocations: 49.55 kB / 4.087 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/9.63, allocations: 0.7564 MB / 4.087 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/9.631, allocations: 0.819 MB / 4.088 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/9.631, allocations: 3.844 kB / 4.088 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/9.631, allocations: 3.906 kB / 4.088 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/9.631, allocations: 27.84 kB / 4.088 GB, free: 145.2 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.006142/9.638, allocations: 4.069 MB / 4.092 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/9.638, allocations: 0.5265 MB / 4.093 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/9.639, allocations: 326.2 kB / 4.093 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/9.639, allocations: 0.6388 MB / 4.094 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/9.64, allocations: 441.3 kB / 4.094 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.286e-06/9.64, allocations: 2.906 kB / 4.094 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001677/9.642, allocations: 0.7124 MB / 4.095 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/9.642, allocations: 88.92 kB / 4.095 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/9.643, allocations: 0.5627 MB / 4.095 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/9.643, allocations: 25.7 kB / 4.095 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/9.643, allocations: 445.1 kB / 4.096 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/9.643, allocations: 187 kB / 4.096 GB, free: 142 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/9.643, allocations: 3.25 kB / 4.096 GB, free: 142 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/9.643, allocations: 321.8 kB / 4.096 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/9.644, allocations: 261.7 kB / 4.097 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/9.644, allocations: 427.5 kB / 4.097 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/9.645, allocations: 320.8 kB / 4.097 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/9.645, allocations: 3.938 kB / 4.097 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001293/9.646, allocations: 0.7612 MB / 4.098 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/9.646, allocations: 0.9035 MB / 4.099 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/9.646, allocations: 0 / 4.099 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/9.646, allocations: 7.75 kB / 4.099 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/9.648, allocations: 239.5 kB / 4.099 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005085/9.648, allocations: 1.211 MB / 4.1 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/9.649, allocations: 165.9 kB / 4.1 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/9.65, allocations: 37.03 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/9.65, allocations: 3.344 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001261/9.651, allocations: 0.6486 MB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/9.651, allocations: 3.781 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/9.651, allocations: 3.594 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/9.652, allocations: 233.1 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/9.652, allocations: 7.156 kB / 4.101 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/9.653, allocations: 158.4 kB / 4.102 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/9.653, allocations: 39.81 kB / 4.102 GB, free: 139.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002322/9.653, allocations: 120.5 kB / 4.102 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001284/9.655, allocations: 0.692 MB / 4.102 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/9.655, allocations: 91.89 kB / 4.102 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/9.656, allocations: 0.8123 MB / 4.103 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/9.656, allocations: 3.875 kB / 4.103 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/9.656, allocations: 7.938 kB / 4.103 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/9.657, allocations: 9.531 kB / 4.103 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/9.66, allocations: 1.918 MB / 4.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/9.66, allocations: 3.875 kB / 4.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/9.661, allocations: 226.4 kB / 4.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/9.661, allocations: 6.406 kB / 4.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/9.661, allocations: 16.05 kB / 4.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003855/9.661, allocations: 1.198 MB / 4.107 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/9.661, allocations: 0 / 4.107 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/9.662, allocations: 1.044 MB / 4.108 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/9.663, allocations: 278.7 kB / 4.108 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/9.663, allocations: 4.938 kB / 4.108 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/9.664, allocations: 152.9 kB / 4.108 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/9.664, allocations: 65.28 kB / 4.108 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/9.664, allocations: 32.83 kB / 4.108 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000523/9.665, allocations: 442.4 kB / 4.108 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/9.665, allocations: 1.625 kB / 4.108 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001758/9.667, allocations: 0.5873 MB / 4.109 GB, free: 136.5 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.003942/9.671, allocations: 4.111 MB / 4.113 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002037/9.673, allocations: 1.164 MB / 4.114 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/9.673, allocations: 0 / 4.114 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/9.673, allocations: 404 kB / 4.115 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/9.675, allocations: 352.5 kB / 4.115 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/9.678, allocations: 1.47 MB / 4.116 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/9.679, allocations: 1.064 MB / 4.117 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001507/9.68, allocations: 311.6 kB / 4.118 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/9.681, allocations: 344.8 kB / 4.118 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/9.681, allocations: 4 kB / 4.118 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07206/9.753, allocations: 35.4 MB / 4.153 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/9.753, allocations: 191.3 kB / 4.153 GB, free: 121 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/12.98, allocations: 0 / 4.153 GB, free: 121 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)