Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009052, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.654/1.654, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004649/0.0004651, allocations: 16.22 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05086/0.2685, allocations: 56.58 MB / 0.8425 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.2834, allocations: 11.14 MB / 0.8534 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.2853, allocations: 51.62 kB / 0.8535 GB, free: 7.977 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.2868, allocations: 468.8 kB / 0.8539 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.2911, allocations: 1.511 MB / 0.8554 GB, free: 5.996 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.2937, allocations: 0.8878 MB / 0.8563 GB, free: 5.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.2978, allocations: 3.402 MB / 0.8596 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.2992, allocations: 0.7987 MB / 0.8604 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.3016, allocations: 1.054 MB / 0.8614 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.3029, allocations: 0.8127 MB / 0.8622 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.3031, allocations: 44 kB / 0.8622 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3055, allocations: 1.103 MB / 0.8633 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.3058, allocations: 199 kB / 0.8635 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.3062, allocations: 289 kB / 0.8638 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3082, allocations: 1.648 MB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3082, allocations: 3.984 kB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3082, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.3083, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 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.002664/0.3109, allocations: 1.54 MB / 0.8669 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.311, allocations: 12.03 kB / 0.8669 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.3129, allocations: 473.9 kB / 0.8673 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.315, allocations: 1.102 MB / 0.8684 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000295/0.3153, allocations: 125.9 kB / 0.8685 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3154, allocations: 83.98 kB / 0.8686 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.3174, allocations: 1.023 MB / 0.8696 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3174, allocations: 0 / 0.8696 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.3175, allocations: 36 kB / 0.8697 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.3175, allocations: 24 kB / 0.8697 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.3197, allocations: 0.9563 MB / 0.8706 GB, free: 6.199 MB / 0.6856 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.006023/0.3257, allocations: 4.638 MB / 0.8751 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.3288, allocations: 0.9394 MB / 0.8761 GB, free: 308 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.3296, allocations: 369 kB / 0.8764 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.3302, allocations: 0.9029 MB / 0.8773 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3302, allocations: 35 kB / 0.8773 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.3303, allocations: 0 / 0.8773 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.0058/0.3361, allocations: 1.897 MB / 0.8792 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3361, allocations: 59.84 kB / 0.8792 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.3376, allocations: 1.056 MB / 0.8803 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.3376, allocations: 37.7 kB / 0.8803 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.338, allocations: 0.5236 MB / 0.8808 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3382, allocations: 165.6 kB / 0.881 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3382, allocations: 12 kB / 0.881 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3383, allocations: 333.9 kB / 0.8813 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/0.3392, allocations: 352.9 kB / 0.8816 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3403, allocations: 0.5469 MB / 0.8822 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009149/0.3412, allocations: 380.5 kB / 0.8825 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3412, allocations: 4 kB / 0.8825 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002583/0.3438, allocations: 1.097 MB / 0.8836 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.344, allocations: 216.9 kB / 0.8838 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.344, allocations: 4 kB / 0.8838 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.3452, allocations: 335.3 kB / 0.8841 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.3458, allocations: 147.8 kB / 0.8843 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.3472, allocations: 0.9348 MB / 0.8852 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3484, allocations: 207.2 kB / 0.8854 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.3485, allocations: 27.98 kB / 0.8854 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3485, allocations: 8 kB / 0.8854 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/0.3509, allocations: 0.9712 MB / 0.8864 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3509, allocations: 4 kB / 0.8864 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.3519, allocations: 325 kB / 0.8867 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.3524, allocations: 147.8 kB / 0.8868 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3537, allocations: 0.933 MB / 0.8877 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.3548, allocations: 191.2 kB / 0.8879 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.3549, allocations: 31.98 kB / 0.8879 GB, free: 3.633 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005348/0.3555, allocations: 352.9 kB / 0.8883 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.3556, allocations: 114.6 kB / 0.8884 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.3581, allocations: 1.068 MB / 0.8894 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.3581, allocations: 11.95 kB / 0.8894 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3581, allocations: 4 kB / 0.8895 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3581, allocations: 3.984 kB / 0.8895 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/0.363, allocations: 2.358 MB / 0.8918 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.363, allocations: 8.031 kB / 0.8918 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.3634, allocations: 83.88 kB / 0.8918 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009268/0.3643, allocations: 328.6 kB / 0.8922 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3643, allocations: 16 kB / 0.8922 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.3657, allocations: 0.9697 MB / 0.8931 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3657, allocations: 4.031 kB / 0.8931 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.3693, allocations: 1.353 MB / 0.8944 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.37, allocations: 291.4 kB / 0.8947 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3701, allocations: 15.95 kB / 0.8947 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.371, allocations: 127.7 kB / 0.8949 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.3711, allocations: 47.27 kB / 0.8949 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.3712, allocations: 27.97 kB / 0.8949 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00108/0.3723, allocations: 0.7317 MB / 0.8956 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3723, allocations: 4 kB / 0.8957 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001485/0.3738, allocations: 0.5692 MB / 0.8962 GB, free: 10.96 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008177/0.3746, allocations: 371.7 kB / 0.8966 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003195/0.3778, allocations: 1.264 MB / 0.8978 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.3778, allocations: 4 kB / 0.8978 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.3788, allocations: 421.6 kB / 0.8982 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.3812, allocations: 0.5275 MB / 0.8987 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.3869, allocations: 2.543 MB / 0.9012 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.3876, allocations: 1.07 MB / 0.9022 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001135/0.3888, allocations: 235.4 kB / 0.9025 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.389, allocations: 79.42 kB / 0.9025 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of SimCode: time 1.323e-06/0.389, allocations: 0 / 0.9025 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of Templates: time 0.4573/0.8463, allocations: 23.73 MB / 0.9257 GB, free: 133.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) Environment - environmentSimulation: