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.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001222/0.001223, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008412/0.0008414, allocations: 89.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.081e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.808, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.338/7.146, allocations: 2.325 GB / 3.298 GB, free: 115.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/7.147, allocations: 87.14 kB / 3.298 GB, free: 115.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.791/9.938, allocations: 0.7797 GB / 4.078 GB, free: 64.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.693e-06/9.938, allocations: 0 / 4.078 GB, free: 64.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.891e-05/9.938, allocations: 32.14 kB / 4.078 GB, free: 64.83 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.003699/9.942, allocations: 1.539 MB / 4.08 GB, free: 63.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/9.942, allocations: 12.03 kB / 4.08 GB, free: 63.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/9.944, allocations: 442.1 kB / 4.08 GB, free: 62.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/9.946, allocations: 1.012 MB / 4.081 GB, free: 61.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/9.947, allocations: 165.8 kB / 4.081 GB, free: 61.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/9.947, allocations: 47.98 kB / 4.081 GB, free: 61.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/9.948, allocations: 0.7615 MB / 4.082 GB, free: 60.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/9.949, allocations: 0.8231 MB / 4.083 GB, free: 59.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/9.949, allocations: 0 / 4.083 GB, free: 59.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/9.949, allocations: 7.953 kB / 4.083 GB, free: 59.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/9.949, allocations: 37.98 kB / 4.083 GB, free: 59.87 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.005596/9.955, allocations: 4.049 MB / 4.087 GB, free: 55.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/9.955, allocations: 0.5272 MB / 4.087 GB, free: 55.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/9.956, allocations: 328.5 kB / 4.088 GB, free: 54.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/9.956, allocations: 0.637 MB / 4.088 GB, free: 53.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005506/9.957, allocations: 440.6 kB / 4.089 GB, free: 53.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/9.957, allocations: 4 kB / 4.089 GB, free: 53.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001503/9.959, allocations: 0.7165 MB / 4.089 GB, free: 52.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/9.959, allocations: 89.67 kB / 4.089 GB, free: 52.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/9.959, allocations: 0.5591 MB / 4.09 GB, free: 52.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/9.959, allocations: 25.7 kB / 4.09 GB, free: 52.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/9.959, allocations: 444 kB / 4.09 GB, free: 51.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/9.96, allocations: 189.1 kB / 4.091 GB, free: 51.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/9.96, allocations: 4 kB / 4.091 GB, free: 51.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/9.96, allocations: 334 kB / 4.091 GB, free: 51.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/9.96, allocations: 253 kB / 4.091 GB, free: 50.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/9.96, allocations: 411.4 kB / 4.091 GB, free: 50.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/9.961, allocations: 317.9 kB / 4.092 GB, free: 50.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/9.961, allocations: 7.938 kB / 4.092 GB, free: 50.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001265/9.962, allocations: 0.7556 MB / 4.093 GB, free: 49.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/9.963, allocations: 0.9043 MB / 4.093 GB, free: 48.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/9.963, allocations: 4 kB / 4.093 GB, free: 48.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/9.963, allocations: 8 kB / 4.093 GB, free: 48.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/9.964, allocations: 247.6 kB / 4.094 GB, free: 48.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004947/9.965, allocations: 1.207 MB / 4.095 GB, free: 46.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/9.966, allocations: 171.6 kB / 4.095 GB, free: 46.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/9.966, allocations: 39.97 kB / 4.095 GB, free: 46.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/9.966, allocations: 4 kB / 4.095 GB, free: 46.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/9.967, allocations: 0.6532 MB / 4.096 GB, free: 45.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/9.967, allocations: 4 kB / 4.096 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/9.967, allocations: 4 kB / 4.096 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/9.968, allocations: 227.9 kB / 4.096 GB, free: 45.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/9.968, allocations: 4 kB / 4.096 GB, free: 45.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/9.969, allocations: 159.5 kB / 4.096 GB, free: 45.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/9.969, allocations: 31.98 kB / 4.096 GB, free: 45.52 MB / 0.948 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.0002139/9.969, allocations: 128.8 kB / 4.096 GB, free: 45.39 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001118/9.97, allocations: 0.6814 MB / 4.097 GB, free: 44.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/9.971, allocations: 86.92 kB / 4.097 GB, free: 44.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/9.972, allocations: 0.8279 MB / 4.098 GB, free: 43.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/9.972, allocations: 8.094 kB / 4.098 GB, free: 43.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/9.972, allocations: 3.984 kB / 4.098 GB, free: 43.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/9.972, allocations: 7.984 kB / 4.098 GB, free: 43.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/9.975, allocations: 1.907 MB / 4.1 GB, free: 41.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/9.975, allocations: 4 kB / 4.1 GB, free: 41.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/9.976, allocations: 220 kB / 4.1 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/9.976, allocations: 8 kB / 4.1 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/9.976, allocations: 19.98 kB / 4.1 GB, free: 41.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/9.976, allocations: 1.184 MB / 4.101 GB, free: 40.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/9.976, allocations: 4 kB / 4.101 GB, free: 40.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/9.978, allocations: 1.055 MB / 4.102 GB, free: 39.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/9.978, allocations: 291.6 kB / 4.102 GB, free: 38.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/9.978, allocations: 4 kB / 4.102 GB, free: 38.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/9.979, allocations: 143.8 kB / 4.103 GB, free: 38.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/9.979, allocations: 64.31 kB / 4.103 GB, free: 38.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/9.979, allocations: 31.97 kB / 4.103 GB, free: 38.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004751/9.98, allocations: 443.1 kB / 4.103 GB, free: 38.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.72e-07/9.98, allocations: 0 / 4.103 GB, free: 38.15 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001661/9.982, allocations: 0.5925 MB / 4.104 GB, free: 37.56 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.003721/9.985, allocations: 4.104 MB / 4.108 GB, free: 33.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001894/9.987, allocations: 1.158 MB / 4.109 GB, free: 32.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/9.987, allocations: 0 / 4.109 GB, free: 32.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/9.988, allocations: 406.9 kB / 4.109 GB, free: 31.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/9.99, allocations: 351.9 kB / 4.109 GB, free: 31.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/9.993, allocations: 1.493 MB / 4.111 GB, free: 29.78 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/9.993, allocations: 1.078 MB / 4.112 GB, free: 28.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00145/9.995, allocations: 317.9 kB / 4.112 GB, free: 28.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/9.995, allocations: 339.3 kB / 4.113 GB, free: 28.03 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/9.995, allocations: 0 / 4.113 GB, free: 28.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/10.06, allocations: 35.4 MB / 4.147 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/10.06, allocations: 178.9 kB / 4.147 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/13.48, allocations: 0 / 4.147 GB, free: 8.57 MB / 0.9636 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)