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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00116/0.00116, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.00121/0.00121, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.51/1.51, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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.001533/0.001533, allocations: 68.34 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7452/0.9875, allocations: 197.4 MB / 0.9763 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.9996, allocations: 7.523 MB / 0.9837 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/1.002, allocations: 39.47 kB / 0.9837 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.004, allocations: 0.5983 MB / 0.9843 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006483/1.011, allocations: 1.835 MB / 0.9861 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/1.014, allocations: 1.076 MB / 0.9871 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004964/1.019, allocations: 2.67 MB / 0.9897 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/1.021, allocations: 0.963 MB / 0.9907 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/1.026, allocations: 1.566 MB / 0.9922 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/1.028, allocations: 0.8511 MB / 0.993 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002997/1.028, allocations: 102.8 kB / 0.9931 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/1.032, allocations: 1.909 MB / 0.995 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/1.033, allocations: 342 kB / 0.9953 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/1.034, allocations: 0.6068 MB / 0.9959 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/1.037, allocations: 1.611 MB / 0.9975 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.037, allocations: 0 / 0.9975 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/1.037, allocations: 0 / 0.9975 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.502e-05/1.037, allocations: 1.906 kB / 0.9975 GB, free: 2.383 MB / 0.7325 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.004974/1.042, allocations: 1.668 MB / 0.9991 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.042, allocations: 8.5 kB / 0.9991 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/1.045, allocations: 439.1 kB / 0.9995 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/1.047, allocations: 0.9154 MB / 1 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005966/1.047, allocations: 167.2 kB / 1.001 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.048, allocations: 74.84 kB / 1.001 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/1.05, allocations: 1.086 MB / 1.002 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.05, allocations: 0 / 1.002 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.05, allocations: 39.58 kB / 1.002 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.05, allocations: 29.22 kB / 1.002 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/1.053, allocations: 1.195 MB / 1.003 GB, free: 15.83 MB / 0.7481 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.007599/1.061, allocations: 4.122 MB / 1.007 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/1.063, allocations: 0.8622 MB / 1.008 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/1.065, allocations: 0.4978 MB / 1.008 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009349/1.066, allocations: 0.6342 MB / 1.009 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/1.068, allocations: 0.5978 MB / 1.01 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 3.987e-06/1.068, allocations: 0 / 1.01 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.004748/1.072, allocations: 1.4 MB / 1.011 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.072, allocations: 87.23 kB / 1.011 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/1.074, allocations: 0.8407 MB / 1.012 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.075, allocations: 39.08 kB / 1.012 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/1.075, allocations: 432 kB / 1.012 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/1.075, allocations: 187.6 kB / 1.012 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/1.076, allocations: 135.5 kB / 1.013 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.076, allocations: 330.9 kB / 1.013 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/1.077, allocations: 423.1 kB / 1.013 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.079, allocations: 0.5454 MB / 1.014 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/1.081, allocations: 0.8985 MB / 1.015 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.081, allocations: 5.812 kB / 1.015 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002963/1.084, allocations: 1.085 MB / 1.016 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/1.084, allocations: 36.11 kB / 1.016 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.084, allocations: 3.266 kB / 1.016 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.084, allocations: 6.375 kB / 1.016 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.085, allocations: 235 kB / 1.016 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/1.086, allocations: 1.194 MB / 1.017 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.087, allocations: 166.6 kB / 1.017 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/1.088, allocations: 35.34 kB / 1.017 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001523/1.089, allocations: 0.616 MB / 1.018 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/1.09, allocations: 0.5384 MB / 1.018 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002308/1.093, allocations: 0.8977 MB / 1.019 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/1.093, allocations: 7.312 kB / 1.019 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002856/1.096, allocations: 1.071 MB / 1.02 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/1.096, allocations: 37.64 kB / 1.02 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.096, allocations: 0 / 1.02 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/1.096, allocations: 9.562 kB / 1.02 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.097, allocations: 199.6 kB / 1.021 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.097, allocations: 5.5 kB / 1.021 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.098, allocations: 160.8 kB / 1.021 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/1.098, allocations: 25.58 kB / 1.021 GB, free: 5.184 MB / 0.7481 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.0003027/1.098, allocations: 218.9 kB / 1.021 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/1.099, allocations: 98.91 kB / 1.021 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.102, allocations: 1.123 MB / 1.022 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.102, allocations: 8.656 kB / 1.022 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.102, allocations: 4 kB / 1.022 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.102, allocations: 4.078 kB / 1.022 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/1.107, allocations: 2.319 MB / 1.025 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.107, allocations: 7.297 kB / 1.025 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.108, allocations: 203.9 kB / 1.025 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.108, allocations: 5.531 kB / 1.025 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.968e-05/1.108, allocations: 19.92 kB / 1.025 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006477/1.109, allocations: 1.195 MB / 1.026 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.109, allocations: 3.219 kB / 1.026 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/1.112, allocations: 1.216 MB / 1.027 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/1.112, allocations: 284.1 kB / 1.027 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/1.113, allocations: 20.97 kB / 1.027 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.114, allocations: 136.5 kB / 1.028 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.114, allocations: 62.86 kB / 1.028 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/1.114, allocations: 29.67 kB / 1.028 GB, free: 460 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008975/1.115, allocations: 0.5787 MB / 1.028 GB, free: 108 kB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.115, allocations: 0 / 1.028 GB, free: 108 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001698/1.117, allocations: 487.8 kB / 1.029 GB, free: 12 kB / 0.7481 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.000849/1.118, allocations: 283.8 kB / 1.029 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00494/1.123, allocations: 1.678 MB / 1.031 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.123, allocations: 3.938 kB / 1.031 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.124, allocations: 0.5526 MB / 1.031 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.127, allocations: 442 kB / 1.032 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/1.133, allocations: 2.304 MB / 1.034 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/1.134, allocations: 1.042 MB / 1.035 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/1.134, allocations: 91.53 kB / 1.035 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of SimCode: time 1.874e-06/1.134, allocations: 4 kB / 1.035 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of Templates: time 0.03862/1.173, allocations: 25.11 MB / 1.059 GB, free: 4.574 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)