Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 252 MB / 268 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 187 kB / 327.6 MB, free: 2.109 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.707/1.707, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007665/0.0007665, allocations: 83.72 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 9.656 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04271/0.2335, allocations: 59.83 MB / 0.9599 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.2496, allocations: 11.8 MB / 0.9714 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.2518, allocations: 59.56 kB / 0.9714 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2537, allocations: 0.5477 MB / 0.972 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.2591, allocations: 1.785 MB / 0.9737 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.2623, allocations: 1.101 MB / 0.9748 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005402/0.2677, allocations: 3.912 MB / 0.9786 GB, free: 268 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.2693, allocations: 0.8954 MB / 0.9795 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.272, allocations: 1.124 MB / 0.9806 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2735, allocations: 0.8826 MB / 0.9815 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.2737, allocations: 44 kB / 0.9815 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.2764, allocations: 1.302 MB / 0.9828 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.2767, allocations: 210.9 kB / 0.983 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.2776, allocations: 0.6466 MB / 0.9836 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.28, allocations: 1.703 MB / 0.9853 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.28, allocations: 0 / 0.9853 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2801, allocations: 3.938 kB / 0.9853 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.2801, allocations: 0 / 0.9853 GB, free: 9.402 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002786/0.2829, allocations: 1.516 MB / 0.9867 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2829, allocations: 12.03 kB / 0.9868 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.2851, allocations: 478.8 kB / 0.9872 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.2872, allocations: 1.133 MB / 0.9883 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/0.2876, allocations: 133.9 kB / 0.9884 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2877, allocations: 80 kB / 0.9885 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.2898, allocations: 1.027 MB / 0.9895 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2899, allocations: 4 kB / 0.9895 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.29, allocations: 32 kB / 0.9896 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.29, allocations: 16 kB / 0.9896 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.2925, allocations: 0.9641 MB / 0.9905 GB, free: 3.867 MB / 0.6355 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.007113/0.2997, allocations: 4.68 MB / 0.9951 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.3033, allocations: 0.9459 MB / 0.996 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.3042, allocations: 361.9 kB / 0.9964 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.3049, allocations: 0.9029 MB / 0.9972 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.305, allocations: 39 kB / 0.9973 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.305, allocations: 0 / 0.9973 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.007012/0.312, allocations: 1.912 MB / 0.9991 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3121, allocations: 59.84 kB / 0.9992 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.3137, allocations: 1.064 MB / 1 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.3138, allocations: 37.7 kB / 1 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.3142, allocations: 0.5313 MB / 1.001 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3144, allocations: 169.6 kB / 1.001 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3144, allocations: 8 kB / 1.001 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3146, allocations: 330 kB / 1.001 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3156, allocations: 356.9 kB / 1.002 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3168, allocations: 0.5521 MB / 1.002 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3187, allocations: 0.7839 MB / 1.003 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3187, allocations: 0 / 1.003 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002992/0.3217, allocations: 1.116 MB / 1.004 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.3218, allocations: 201 kB / 1.004 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3218, allocations: 8 kB / 1.004 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3232, allocations: 332.6 kB / 1.005 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.3238, allocations: 143.8 kB / 1.005 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.3254, allocations: 0.9438 MB / 1.006 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.3268, allocations: 199.3 kB / 1.006 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.3269, allocations: 27.98 kB / 1.006 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3269, allocations: 4 kB / 1.006 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002692/0.3296, allocations: 0.9867 MB / 1.007 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3296, allocations: 4 kB / 1.007 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3307, allocations: 328.9 kB / 1.007 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.3314, allocations: 143.8 kB / 1.007 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.3329, allocations: 0.9364 MB / 1.008 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3342, allocations: 183.3 kB / 1.008 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.3342, allocations: 31.92 kB / 1.008 GB, free: 0.7344 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005525/0.3348, allocations: 352.9 kB / 1.009 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.335, allocations: 110.6 kB / 1.009 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.3377, allocations: 1.071 MB / 1.01 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.3377, allocations: 7.984 kB / 1.01 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3377, allocations: 4 kB / 1.01 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3377, allocations: 0 / 1.01 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/0.3433, allocations: 2.366 MB / 1.012 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3433, allocations: 4.281 kB / 1.012 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.3437, allocations: 87.86 kB / 1.012 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.3448, allocations: 334.9 kB / 1.013 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.3449, allocations: 23.98 kB / 1.013 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.3464, allocations: 0.9737 MB / 1.014 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3464, allocations: 4 kB / 1.014 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/0.3506, allocations: 1.353 MB / 1.015 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.3512, allocations: 291.4 kB / 1.015 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.3513, allocations: 12 kB / 1.015 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.3523, allocations: 115.9 kB / 1.015 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3524, allocations: 47.25 kB / 1.015 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.3525, allocations: 27.98 kB / 1.015 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001192/0.3537, allocations: 0.7473 MB / 1.016 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3537, allocations: 0 / 1.016 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001482/0.3552, allocations: 0.5653 MB / 1.017 GB, free: 8.055 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008107/0.356, allocations: 378.2 kB / 1.017 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.3596, allocations: 1.272 MB / 1.018 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3596, allocations: 0 / 1.018 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3607, allocations: 417.7 kB / 1.019 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.3636, allocations: 0.5351 MB / 1.019 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.3695, allocations: 2.63 MB / 1.022 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3701, allocations: 1.066 MB / 1.023 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.3705, allocations: 91.41 kB / 1.023 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of SimCode: time 7.92e-07/0.3705, allocations: 0 / 1.023 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of Templates: time 0.03303/0.4036, allocations: 24.19 MB / 1.046 GB, free: 9.531 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)