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.009697/0.009697, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001762/0.001762, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.559/1.559, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001454/0.001454, allocations: 66.66 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2498, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7928/1.043, allocations: 200.1 MB / 1.023 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01296/1.056, allocations: 7.623 MB / 1.031 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/1.058, allocations: 44.78 kB / 1.031 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/1.061, allocations: 0.7031 MB / 1.032 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007118/1.068, allocations: 2.163 MB / 1.034 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/1.072, allocations: 1.179 MB / 1.035 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004602/1.076, allocations: 2.671 MB / 1.038 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.078, allocations: 0.9862 MB / 1.038 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/1.083, allocations: 1.519 MB / 1.04 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/1.085, allocations: 0.8551 MB / 1.041 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/1.085, allocations: 100 kB / 1.041 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/1.09, allocations: 1.848 MB / 1.043 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006568/1.091, allocations: 330.9 kB / 1.043 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/1.092, allocations: 0.6026 MB / 1.044 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/1.097, allocations: 2.157 MB / 1.046 GB, free: 13.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.097, allocations: 4 kB / 1.046 GB, free: 13.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.475e-06/1.097, allocations: 0 / 1.046 GB, free: 13.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.097, allocations: 0 / 1.046 GB, free: 13.77 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.004025/1.101, allocations: 1.666 MB / 1.047 GB, free: 12.04 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.101, allocations: 12.03 kB / 1.047 GB, free: 12.03 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/1.104, allocations: 438.1 kB / 1.048 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/1.106, allocations: 0.966 MB / 1.049 GB, free: 10.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/1.106, allocations: 61.88 kB / 1.049 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.106, allocations: 75.98 kB / 1.049 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/1.109, allocations: 1.087 MB / 1.05 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/1.109, allocations: 0 / 1.05 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/1.109, allocations: 28 kB / 1.05 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/1.109, allocations: 30 kB / 1.05 GB, free: 9.297 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/1.112, allocations: 1.175 MB / 1.051 GB, free: 8.117 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.007154/1.119, allocations: 4.114 MB / 1.055 GB, free: 3.715 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.121, allocations: 0.8333 MB / 1.056 GB, free: 2.871 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.123, allocations: 497.2 kB / 1.056 GB, free: 2.387 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/1.124, allocations: 0.6331 MB / 1.057 GB, free: 1.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/1.125, allocations: 0.5913 MB / 1.058 GB, free: 1.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=57): time 2.405e-06/1.125, allocations: 0 / 1.058 GB, free: 1.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=57): time 0.004397/1.13, allocations: 1.376 MB / 1.059 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/1.13, allocations: 85.67 kB / 1.059 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.131, allocations: 0.8355 MB / 1.06 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.131, allocations: 41.7 kB / 1.06 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/1.131, allocations: 428.4 kB / 1.06 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/1.132, allocations: 193.2 kB / 1.061 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.132, allocations: 134.1 kB / 1.061 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.132, allocations: 325.9 kB / 1.061 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.133, allocations: 422.8 kB / 1.061 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.135, allocations: 0.5369 MB / 1.062 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/1.137, allocations: 0.882 MB / 1.063 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.137, allocations: 0 / 1.063 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003078/1.14, allocations: 1.066 MB / 1.064 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/1.14, allocations: 33.69 kB / 1.064 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.14, allocations: 4 kB / 1.064 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.14, allocations: 4 kB / 1.064 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.142, allocations: 222.1 kB / 1.064 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007564/1.142, allocations: 1.199 MB / 1.065 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.144, allocations: 139.4 kB / 1.065 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/1.144, allocations: 28.09 kB / 1.065 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001615/1.145, allocations: 0.6102 MB / 1.066 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001327/1.147, allocations: 0.533 MB / 1.066 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002391/1.149, allocations: 0.8819 MB / 1.067 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/1.149, allocations: 0 / 1.067 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003075/1.152, allocations: 1.058 MB / 1.068 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/1.152, allocations: 37.86 kB / 1.068 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.152, allocations: 0 / 1.068 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.152, allocations: 8 kB / 1.068 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.153, allocations: 195.7 kB / 1.069 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.153, allocations: 4 kB / 1.069 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.155, allocations: 128.9 kB / 1.069 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/1.155, allocations: 31.97 kB / 1.069 GB, free: 5.316 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.0003076/1.155, allocations: 224.1 kB / 1.069 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.155, allocations: 106.8 kB / 1.069 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/1.158, allocations: 1.102 MB / 1.07 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.158, allocations: 8 kB / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.158, allocations: 0 / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.158, allocations: 3.984 kB / 1.07 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/1.163, allocations: 2.298 MB / 1.072 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.163, allocations: 4 kB / 1.072 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.164, allocations: 196 kB / 1.073 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.164, allocations: 11.94 kB / 1.073 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/1.164, allocations: 19.98 kB / 1.073 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/1.165, allocations: 1.195 MB / 1.074 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.87e-05/1.165, allocations: 8.047 kB / 1.074 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.168, allocations: 1.188 MB / 1.075 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/1.168, allocations: 291.5 kB / 1.075 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.169, allocations: 12 kB / 1.075 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.17, allocations: 107.8 kB / 1.075 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.17, allocations: 64.3 kB / 1.075 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/1.17, allocations: 27.98 kB / 1.075 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007951/1.171, allocations: 0.5782 MB / 1.076 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.171, allocations: 0 / 1.076 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001267/1.172, allocations: 483.1 kB / 1.076 GB, free: 13.18 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.0006661/1.173, allocations: 297.7 kB / 1.077 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.177, allocations: 1.613 MB / 1.078 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.177, allocations: 0 / 1.078 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/1.179, allocations: 0.5496 MB / 1.079 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.181, allocations: 444.2 kB / 1.079 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/1.186, allocations: 1.841 MB / 1.081 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/1.186, allocations: 1.039 MB / 1.082 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001191/1.188, allocations: 283 kB / 1.082 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.188, allocations: 87.41 kB / 1.082 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of SimCode: time 1.553e-06/1.188, allocations: 0 / 1.082 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.03427/1.222, allocations: 19.6 MB / 1.102 GB, free: 3.578 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)