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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00891/0.00891, allocations: 105.4 kB / 15.74 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.6 MB, free: 4.344 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 251.7 MB / 0.5094 GB, free: 3.082 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 69.94 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2439, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7103/0.9543, allocations: 200.1 MB / 1.023 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.9676, allocations: 7.622 MB / 1.031 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.9699, allocations: 43.16 kB / 1.031 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.9726, allocations: 0.6781 MB / 1.032 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.9798, allocations: 2.067 MB / 1.034 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.984, allocations: 1.18 MB / 1.035 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.9889, allocations: 2.669 MB / 1.037 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.9909, allocations: 0.9949 MB / 1.038 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.9955, allocations: 1.471 MB / 1.04 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.9976, allocations: 0.8469 MB / 1.041 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.9979, allocations: 104 kB / 1.041 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/1.002, allocations: 1.836 MB / 1.043 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005153/1.003, allocations: 334.9 kB / 1.043 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/1.004, allocations: 0.6103 MB / 1.043 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/1.009, allocations: 2.163 MB / 1.046 GB, free: 14.14 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.009, allocations: 0 / 1.046 GB, free: 14.14 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/1.009, allocations: 0 / 1.046 GB, free: 14.14 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.298e-05/1.009, allocations: 0 / 1.046 GB, free: 14.14 MB / 0.795 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.004861/1.014, allocations: 1.662 MB / 1.047 GB, free: 12.42 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.014, allocations: 8.031 kB / 1.047 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/1.016, allocations: 434.1 kB / 1.048 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/1.018, allocations: 0.9718 MB / 1.049 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/1.018, allocations: 58 kB / 1.049 GB, free: 10.92 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/1.019, allocations: 68 kB / 1.049 GB, free: 10.85 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/1.021, allocations: 1.083 MB / 1.05 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.021, allocations: 0.75 kB / 1.05 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.021, allocations: 27.98 kB / 1.05 GB, free: 9.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/1.021, allocations: 41.92 kB / 1.05 GB, free: 9.68 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/1.025, allocations: 1.171 MB / 1.051 GB, free: 8.504 MB / 0.795 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.007069/1.032, allocations: 4.115 MB / 1.055 GB, free: 4.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.035, allocations: 0.8332 MB / 1.056 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/1.036, allocations: 498.2 kB / 1.056 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/1.037, allocations: 0.6331 MB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/1.038, allocations: 0.5835 MB / 1.057 GB, free: 1.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 2.655e-06/1.038, allocations: 4 kB / 1.057 GB, free: 1.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.00448/1.043, allocations: 1.38 MB / 1.059 GB, free: 16 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.043, allocations: 85.67 kB / 1.059 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.044, allocations: 0.8356 MB / 1.06 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/1.044, allocations: 37.7 kB / 1.06 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/1.045, allocations: 428.3 kB / 1.06 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/1.045, allocations: 189.2 kB / 1.06 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/1.045, allocations: 134.1 kB / 1.06 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.045, allocations: 333.9 kB / 1.061 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.046, allocations: 418.8 kB / 1.061 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.048, allocations: 0.5292 MB / 1.062 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/1.05, allocations: 0.8859 MB / 1.063 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.05, allocations: 0 / 1.063 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003093/1.054, allocations: 1.073 MB / 1.064 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.054, allocations: 33.7 kB / 1.064 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.054, allocations: 4 kB / 1.064 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.054, allocations: 4 kB / 1.064 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.055, allocations: 225.6 kB / 1.064 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/1.056, allocations: 1.195 MB / 1.065 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.057, allocations: 143.5 kB / 1.065 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/1.057, allocations: 31.97 kB / 1.065 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001633/1.059, allocations: 0.6063 MB / 1.066 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/1.06, allocations: 0.5253 MB / 1.066 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002551/1.063, allocations: 0.8742 MB / 1.067 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.675e-06/1.063, allocations: 4 kB / 1.067 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003098/1.066, allocations: 1.061 MB / 1.068 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.066, allocations: 37.69 kB / 1.068 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.066, allocations: 3.984 kB / 1.068 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/1.066, allocations: 4 kB / 1.068 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.067, allocations: 195.9 kB / 1.068 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.067, allocations: 7.938 kB / 1.068 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.068, allocations: 129.2 kB / 1.069 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/1.068, allocations: 31.97 kB / 1.069 GB, free: 5.699 MB / 0.8106 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0002861/1.069, allocations: 228.1 kB / 1.069 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.069, allocations: 98.78 kB / 1.069 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/1.072, allocations: 1.114 MB / 1.07 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.072, allocations: 4 kB / 1.07 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.072, allocations: 0 / 1.07 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.072, allocations: 3.984 kB / 1.07 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/1.077, allocations: 2.29 MB / 1.072 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.077, allocations: 4.344 kB / 1.072 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.078, allocations: 203.6 kB / 1.072 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.078, allocations: 4 kB / 1.072 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/1.078, allocations: 23.97 kB / 1.072 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006567/1.079, allocations: 1.199 MB / 1.074 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.079, allocations: 0 / 1.074 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/1.082, allocations: 1.192 MB / 1.075 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.082, allocations: 283.6 kB / 1.075 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.083, allocations: 19.98 kB / 1.075 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.084, allocations: 103.8 kB / 1.075 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.084, allocations: 56.31 kB / 1.075 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.084, allocations: 35.97 kB / 1.075 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007578/1.085, allocations: 0.5821 MB / 1.076 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/1.085, allocations: 0 / 1.076 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001363/1.086, allocations: 491 kB / 1.076 GB, free: 13.55 MB / 0.8262 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.0006922/1.087, allocations: 294.3 kB / 1.077 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004865/1.092, allocations: 1.602 MB / 1.078 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.092, allocations: 7.938 kB / 1.078 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.093, allocations: 0.5533 MB / 1.079 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.096, allocations: 437.4 kB / 1.079 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/1.1, allocations: 1.844 MB / 1.081 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/1.1, allocations: 1.043 MB / 1.082 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001158/1.102, allocations: 290.2 kB / 1.082 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/1.102, allocations: 83.41 kB / 1.082 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of SimCode: time 1.313e-06/1.102, allocations: 0 / 1.082 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.03346/1.135, allocations: 19.6 MB / 1.101 GB, free: 3.961 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)